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:
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
PARAMS_2(_unit,_newSurrenderState);
|
PARAMS_2(_unit,_newSurrenderState);
|
||||||
|
|
||||||
|
if (currentWeapon _unit != "") exitWith {false};
|
||||||
|
|
||||||
private "_returnValue";
|
private "_returnValue";
|
||||||
|
|
||||||
_returnValue = if (_newSurrenderState) then {
|
_returnValue = if (_newSurrenderState) then {
|
||||||
|
Reference in New Issue
Block a user