mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix unconscious handlers run globally (#5504)
This commit is contained in:
parent
9cce08f152
commit
e103805f00
@ -17,6 +17,8 @@
|
||||
|
||||
params ["_unit"];
|
||||
|
||||
if (!local _unit) exitWith {};
|
||||
|
||||
if (_unit getVariable [QGVAR(isDeploying), false]) then {
|
||||
[_unit] call FUNC(deployCancel);
|
||||
};
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
params ["_unit"];
|
||||
|
||||
if (!local _unit) exitWith {};
|
||||
|
||||
if (!isNull (GETMVAR(ladder,objNull)) && {GVAR(ladder) in attachedObjects _unit}) then {
|
||||
[_unit, GVAR(ladder)] call FUNC(cancelTLdeploy);
|
||||
};
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
params ["_unit"];
|
||||
|
||||
if (!local _unit) exitWith {};
|
||||
|
||||
if (_unit getVariable [QGVAR(isPlacing), false]) then {
|
||||
[_unit] call FUNC(placeCancel);
|
||||
};
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
params ["_unit"];
|
||||
|
||||
if (!local _unit) exitWith {};
|
||||
|
||||
if (_unit getVariable [QGVAR(adjusting), false]) then {
|
||||
_unit setVariable [QGVAR(adjusting), false, true];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user