mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-19 06:32:57 +03:00
Fix abort and gear menu staying open at same time
This commit is contained in:
@@ -60,7 +60,7 @@ if (surfaceIsWater _location) then {
|
||||
};
|
||||
|
||||
player reveal _b0x1337;
|
||||
|
||||
DZE_GearCheckBypass = true; //Bypass gear menu checks since dialog will always open on crate
|
||||
player action ["Gear", _b0x1337];
|
||||
|
||||
localize "str_epoch_player_78" call dayz_rollingMessages;
|
||||
|
||||
@@ -253,7 +253,7 @@ if (_proceed && _success) then {
|
||||
_item setposATL _iPos;
|
||||
|
||||
player reveal _item;
|
||||
|
||||
DZE_GearCheckBypass = true; //Bypass gear menu checks since dialog will always open on item
|
||||
player action ["Gear", _item];
|
||||
};
|
||||
} else {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
private [];
|
||||
|
||||
player removeAction s_player_SurrenderedGear;
|
||||
|
||||
DZE_GearCheckBypass = true;
|
||||
player action ["Gear", (_this select 3)];
|
||||
|
||||
s_player_SurrenderedGear = -1;
|
||||
Reference in New Issue
Block a user