Fix weapon on back dupe

This commit is contained in:
AirwavesMan
2020-11-15 17:49:33 +01:00
parent ae52a0e5e8
commit 1697af9714
6 changed files with 9 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ if (_classname isKindOf "Bag_Base_EP1") exitWith {
waitUntil { !isNull (unitBackpack player) };
uiSleep 0.03;
PVDZ_plr_Save = [player,nil,false];
PVDZ_plr_Save = [player,nil,dayz_onBack];
publicVariableServer "PVDZ_plr_Save";
};

View File

@@ -63,7 +63,7 @@ if !(alive _item) then {
dayz_lastMeal = time;
dayz_hunger = 0;
PVDZ_plr_Save = [player,nil,true];
PVDZ_plr_Save = [player,nil,dayz_onBack];
publicVariableServer "PVDZ_plr_Save";
[player,"eat",0,false] call dayz_zombieSpeak;