From 357e0cf1b493c297d064dda94a6a2f0a9b04054c Mon Sep 17 00:00:00 2001 From: Zac Surplice Date: Tue, 29 Oct 2013 10:10:32 +1100 Subject: [PATCH] persistence fix --- SQF/dayz_code/init/variables.sqf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 18e09c5a9..33cd10b84 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -485,6 +485,10 @@ dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_st dayz_spawnPos = getPosATL player; DZE_Lock_Door = ""; + +if(isNil "DZE_FriendlySaving") then { + DZE_FriendlySaving = true; +}; //init global arrays for Loot Chances call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\loot_init.sqf"; @@ -624,9 +628,6 @@ if(!isDedicated) then { if(isNil "DZE_ForceNameTagsOff") then { DZE_ForceNameTagsOff = false; }; - if(isNil "DZE_FriendlySaving") then { - DZE_FriendlySaving = true; - }; DZE_Friends = [];