Update player_packTent again

This commit is contained in:
ebayShopper
2017-02-26 16:43:33 -05:00
parent 62312a85c7
commit 122d9e16f7
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then {
if (_alreadyupgrading == 1) exitWith { localize "str_upgradeInProgress" call dayz_rollingMessages; };
_cursorTarget setVariable["alreadyupgrading",1];
_cursorTarget setVariable["alreadyupgrading",1,true];
uiSleep 0.03;

View File

@@ -34,7 +34,7 @@ _campItems = ["IC_DomeTent","IC_Tent"];
if (_ownerID in [dayz_characterID,dayz_playerUID] or typeOf _obj in _campItems) then {
player playActionNow "Medic";
_alreadyPacking = _obj getVariable["packing",0];
if (_alreadyPacking == 1) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages; dayz_actionInProgress = false;};
if (_alreadyPacking == 1) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages;};
_obj setVariable["packing",1,true];
_dir = direction _obj;