From 0eaa995d27c0cd782cb821a216ee2e28d1e94bc5 Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Sun, 26 Feb 2017 14:03:29 -0500 Subject: [PATCH] Fix action in progress message in player_packTent --- SQF/dayz_code/compile/player_packTent.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_packTent.sqf b/SQF/dayz_code/compile/player_packTent.sqf index d75ae400a..1c4b36f50 100644 --- a/SQF/dayz_code/compile/player_packTent.sqf +++ b/SQF/dayz_code/compile/player_packTent.sqf @@ -1,7 +1,7 @@ /* [_obj] call player_packTent; */ -if (dayz_actionInProgress) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages;}; +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; dayz_actionInProgress = true; private ["_alreadyPacking","_backpacks","_bag","_campItems","_countr","_dir","_holder","_magazines","_obj","_objWpnQty","_objWpnTypes","_objectID","_objectUID","_ownerID","_packobj","_playerNear","_pos","_weapons"]; @@ -36,7 +36,7 @@ if (_ownerID in [dayz_characterID,dayz_playerUID] or typeOf _obj in _campItems) _alreadyPacking = _obj getVariable["packing",0]; if (_alreadyPacking == 1) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages; dayz_actionInProgress = false;}; - _obj setVariable["packing",1]; + _obj setVariable["packing",1,true]; _dir = direction _obj; _pos = getPosATL _obj;