mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only display "Surrender" action if the player is not holding a weapon.
This commit is contained in:
parent
a01864319a
commit
91df52056b
@ -18,6 +18,8 @@
|
||||
|
||||
PARAMS_2(_unit,_newSurrenderState);
|
||||
|
||||
if (currentWeapon _unit != "") exitWith {false};
|
||||
|
||||
private "_returnValue";
|
||||
|
||||
_returnValue = if (_newSurrenderState) then {
|
||||
|
Loading…
Reference in New Issue
Block a user