Only display "Surrender" action if the player is not holding a weapon.

This commit is contained in:
esteldunedain 2015-04-12 11:13:54 -03:00
parent a01864319a
commit 91df52056b

View File

@ -18,6 +18,8 @@
PARAMS_2(_unit,_newSurrenderState);
if (currentWeapon _unit != "") exitWith {false};
private "_returnValue";
_returnValue = if (_newSurrenderState) then {