mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix cookoff event calling (#4487)
This commit is contained in:
parent
dad4293216
commit
a5d106c116
@ -20,7 +20,9 @@ params ["_vehicle"];
|
|||||||
if (_vehicle getVariable [QGVAR(isCookingOff), false]) exitWith {};
|
if (_vehicle getVariable [QGVAR(isCookingOff), false]) exitWith {};
|
||||||
_vehicle setVariable [QGVAR(isCookingOff), true];
|
_vehicle setVariable [QGVAR(isCookingOff), true];
|
||||||
|
|
||||||
[QGVAR(cookOff), _vehicle] call CBA_fnc_remoteEvent;
|
if (local _vehicle) then {
|
||||||
|
[QGVAR(cookOff), _vehicle] call CBA_fnc_remoteEvent;
|
||||||
|
};
|
||||||
|
|
||||||
[{
|
[{
|
||||||
params ["_vehicle"];
|
params ["_vehicle"];
|
||||||
|
Loading…
Reference in New Issue
Block a user