Skip to content

Commit

Permalink
Arrays - Fix number bounds (ASC compatibility) (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 16, 2023
1 parent e48c270 commit 37caa5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/arrays/fnc_selectBest.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SCRIPT(selectBest);

params ["_array", "_criteria", "_return"];

private _bestScore = -1e99;
private _bestScore = -1e38;
{
private _xScore = _x call _criteria;
if (_xScore > _bestScore) then {
Expand Down

0 comments on commit 37caa5a

Please sign in to comment.