mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Change to execNextFrame.
This commit is contained in:
parent
b13d44fb6b
commit
20bd5957e3
@ -16,7 +16,7 @@ _litterObject = _litterClass createVehicleLocal _position;
|
|||||||
_litterObject setDir _direction;
|
_litterObject setDir _direction;
|
||||||
_litterObject setPosATL _position;
|
_litterObject setPosATL _position;
|
||||||
// Move the litter next frame to get rid of HORRIBLE spacing, fixes #1112
|
// Move the litter next frame to get rid of HORRIBLE spacing, fixes #1112
|
||||||
[{ (_this select 0) setPosATL (_this select 1); }, [_litterObject, _position], 0, 0] call EFUNC(common,waitAndExecute);
|
[{ (_this select 0) setPosATL (_this select 1); }, [_litterObject, _position]] call EFUNC(common,execNextFrame);
|
||||||
|
|
||||||
_maxLitterCount = getArray (configFile >> "ACE_Settings" >> QGVAR(litterSimulationDetail) >> "_values") select GVAR(litterSimulationDetail);
|
_maxLitterCount = getArray (configFile >> "ACE_Settings" >> QGVAR(litterSimulationDetail) >> "_values") select GVAR(litterSimulationDetail);
|
||||||
if((count GVAR(allCreatedLitter)) > _maxLitterCount ) then {
|
if((count GVAR(allCreatedLitter)) > _maxLitterCount ) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user