mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-18 14:12:57 +03:00
Open gear menu instantly after action completes
This commit is contained in:
@@ -116,6 +116,8 @@ if (count(_findNearestTree) >= 1) then {
|
||||
|
||||
cutText [format["\n\n%1 piles of wood has been successfully added in front of you.", _countOut], "PLAIN DOWN"];
|
||||
|
||||
player action ["Gear", _item];
|
||||
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
if (vehicle player == player) then {
|
||||
|
||||
@@ -50,6 +50,8 @@ if(_type == "backpack") then {
|
||||
};
|
||||
|
||||
player reveal _box;
|
||||
|
||||
player action ["Gear", _box];
|
||||
|
||||
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];
|
||||
|
||||
|
||||
@@ -207,6 +207,8 @@ if (_proceed) then {
|
||||
_item addMagazineCargoGlobal [_itemOut,_countOut];
|
||||
} forEach _selectedRemoveOutput;
|
||||
player reveal _item;
|
||||
|
||||
player action ["Gear", _item];
|
||||
};
|
||||
} else {
|
||||
cutText ["Failed object not longer exists.", "PLAIN DOWN"];
|
||||
|
||||
Reference in New Issue
Block a user