openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Script exception when sorting empty array #384

Open ArEyeses79 opened 1 year ago

ArEyeses79 commented 1 year ago

When sorting an empty array (using a function as the first argument; SortAsc and SortDesc seem to be fine) I get a script exception. Example code: uint[] a = {}; a.Sort(function(a, b) { return a < b; });