mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup non-working code, and documentation
This commit is contained in:
parent
48a1ddd401
commit
0ea1c0c03f
@ -35,12 +35,11 @@ if (GVAR(LockVehicleInventory) && //if setting not enabled
|
|||||||
playSound "ACE_Sound_Click";
|
playSound "ACE_Sound_Click";
|
||||||
//don't open the vehicles inventory
|
//don't open the vehicles inventory
|
||||||
_handeled = true;
|
_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.
|
// As of 1.54 the action needs to be delayed a frame to work, which used not to be the case
|
||||||
[{
|
[{
|
||||||
TRACE_1("delaying a frame", ace_player);
|
TRACE_1("delaying a frame", ace_player);
|
||||||
|
//Just opens a dummy groundContainer (so the player can still see their own inventory)
|
||||||
ACE_player action ["Gear", objNull];
|
ACE_player action ["Gear", objNull];
|
||||||
}, []] call EFUNC(common,execNextFrame);
|
}, []] call EFUNC(common,execNextFrame);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user