From 8ef349e2bb6a00877cb36e7cb5fa1f6a6c874ea7 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 21 Aug 2016 17:03:47 -0400 Subject: [PATCH] Make minor adjustment to push stuck plane action --- SQF/dayz_code/compile/fn_selfActions.sqf | 4 ++-- SQF/dayz_code/stringtable.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 6efebe813..f1f955db2 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -301,9 +301,9 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur s_player_flipveh = -1; }; - if (_isPlane && _isAlive && count (crew _cursorTarget) == 0) then { + if (_isPlane && {_isAlive} && {count (crew _cursorTarget) == 0}) then { if (s_player_pushPlane < 0) then { - s_player_pushPlane = player addAction [format[localize "str_actions_push_plane",_text], "\z\addons\dayz_code\actions\player_pushPlane.sqf",_cursorTarget,1,true,true]; + s_player_pushPlane = player addAction [format[localize "str_actions_push",_text], "\z\addons\dayz_code\actions\player_pushPlane.sqf",_cursorTarget,1,true,true]; }; } else { player removeAction s_player_pushPlane; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 37f813dbd..73e58f896 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -863,7 +863,7 @@ Retourner %1 Otočit %1 - + Push %1