mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cookoff - fix locality of fire_removeFireSource
event (#8907)
This commit is contained in:
parent
56df203477
commit
38b4de9382
@ -48,7 +48,9 @@ if (isServer) then {
|
||||
if (_elapsedTime >= _time) exitWith {
|
||||
deleteVehicle _light;
|
||||
deleteVehicle _sound;
|
||||
[QEGVAR(fire,removeFireSource), [_obj]] call CBA_fnc_globalEvent;
|
||||
if (isServer) then {
|
||||
[QEGVAR(fire,removeFireSource), [_obj]] call CBA_fnc_localEvent;
|
||||
};
|
||||
[_pfh] call CBA_fnc_removePerFrameHandler;
|
||||
};
|
||||
private _factor = (1 + (_elapsedTime / 2) min 2);
|
||||
|
Loading…
Reference in New Issue
Block a user