mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix math issue
This commit is contained in:
parent
275f04d876
commit
588f5adce8
@ -22,13 +22,13 @@
|
||||
GVAR(nextFrameBufferA) = GVAR(nextFrameBufferB);
|
||||
GVAR(nextFrameBufferB) = [];
|
||||
GVAR(nextFrameNo) = diag_frameno + 1;
|
||||
|
||||
|
||||
//Handle the waitUntilAndExec array:
|
||||
_deleted = 0;
|
||||
{
|
||||
_x params ["_condition", "_code", "_args"];
|
||||
if ((_args call _condition)) then {
|
||||
GVAR(waitUntilAndExecArray) deleteAt (_forEachIndex + _deleted);
|
||||
GVAR(waitUntilAndExecArray) deleteAt (_forEachIndex - _deleted);
|
||||
_deleted = _deleted + 1;
|
||||
_args call _code;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user