diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf
index 13a4d44a2..a2d5a2bb4 100644
--- a/SQF/dayz_code/init/compiles.sqf
+++ b/SQF/dayz_code/init/compiles.sqf
@@ -360,7 +360,7 @@ if (!isDedicated) then {
_objName
};
- dayz_originalPlayer = player;
+ dayz_originalPlayer = player;
// trader menu gui by maca134
@@ -610,7 +610,7 @@ if (!isDedicated) then {
_h = (_record select 4) select 0;
_m = (_record select 4) select 1;
- _record_stxt = format["%1Died at %2:%3
", _record_stxt, (_h call _format), (_m call _format)];
+ _record_stxt = format["%1Died at %2:%3
", _record_stxt, ((_h call _format)+timezoneswitch), (_m call _format)];
if ((_record select 1) != 'unknown') then {
_record_stxt = format["%1Was killed by %2
", _record_stxt, (_record select 1)];
diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf
index 8a7149398..027bbb626 100644
--- a/SQF/dayz_code/init/variables.sqf
+++ b/SQF/dayz_code/init/variables.sqf
@@ -400,6 +400,9 @@ dayz_zSpawnDistance = 1000;
if(isNil "dayz_maxAnimals") then {
dayz_maxAnimals = 8;
};
+if(isNil "timezoneswitch") then {
+ timezoneswitch = 0;
+};
if(isNil "dayz_maxLocalZombies") then {
dayz_maxLocalZombies = 15;
};
@@ -448,6 +451,9 @@ if(isNil "DZE_BuildingLimit") then {
if(isNil "DZE_HumanityTargetDistance") then {
DZE_HumanityTargetDistance = 25;
};
+if(isNil "DZE_FriendlySaving") then {
+ DZE_FriendlySaving = true;
+};
DZE_REPLACE_WEAPONS = [["Crossbow","ItemMatchbox","ItemHatchet"],["Crossbow_DZ","ItemMatchbox_DZE","ItemHatchet_DZE"]];
@@ -490,13 +496,7 @@ DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP
// Standard Fuel sources
dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","land_fuelstation_w","Land_benzina_schnell"];
-
-
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";