mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#3166 - Fix Vehicle inventory is not locked
This commit is contained in:
parent
cea2b55d56
commit
48a1ddd401
@ -37,6 +37,12 @@ if (GVAR(LockVehicleInventory) && //if setting not enabled
|
||||
_handeled = true;
|
||||
//Just opens a dummy groundContainer (so the player can still see their own inventory)
|
||||
ACE_player action ["Gear", objNull];
|
||||
|
||||
//As of right now arma doesn't seem to be respecting this anymore, delaying a frame seems to work.
|
||||
[{
|
||||
TRACE_1("delaying a frame", ace_player);
|
||||
ACE_player action ["Gear", objNull];
|
||||
}, []] call EFUNC(common,execNextFrame);
|
||||
};
|
||||
|
||||
_handeled
|
||||
|
Loading…
Reference in New Issue
Block a user