mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added additional abort condition.
This commit is contained in:
parent
4580168080
commit
c2be6ffef6
@ -5,4 +5,11 @@ GVAR(sandBag) = objNull;
|
||||
GVAR(deployPFH) = -1;
|
||||
GVAR(deployDirection) = 0;
|
||||
|
||||
// Cancel deploy sandbag if interact menu opened
|
||||
["interactMenuOpened", {
|
||||
if (GVAR(deployPFH) != -1 && {!isNull (GVAR(sandBag))}) then {
|
||||
call FUNC(deployCancel);
|
||||
};
|
||||
}] call EFUNC(common,addEventHandler);
|
||||
|
||||
[{_this call DFUNC(handleScrollWheel)}] call EFUNC(common,addScrollWheelEventHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user