Arsenal - Fix sort by value not sorting properly (#6570)

* Fix sort by value not sorting properly

* Change single to double quotes

* Remove uneeded space
This commit is contained in:
Josuan Albin 2018-09-12 21:59:36 +02:00 committed by PabstMirror
parent 9de11e066f
commit eab84e0d09

View File

@ -35,7 +35,16 @@ if (ctrlIDC _control == 17 && {GVAR(currentLeftPanel) in [IDC_buttonUniform ,IDC
};
case 2: {
for "_i" from 0 to (((lnbsize _panel) select 0) - 1) do {
_panel lnbSetText [[_i, 2], str (parseNumber (_panel lnbText [_i, 2]) / 1000)];
};
_panel lnbSort [2, true];
for "_i" from 0 to (((lnbsize _panel) select 0) - 1) do {
_panel lnbSetText [[_i, 2], str (parseNumber (_panel lnbText [_i, 2]) * 1000)];
};
};
};