diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 893c431fa..91277da89 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -567,6 +567,4 @@ if (!isDedicated) then { ["RightFoot","LeftFoot"], ["neck","pilot"] ]; - - DZE_Quarantine = false; // used in player_spawn_2.sqf, but for no reason. There is no function that alters this variable. }; diff --git a/SQF/dayz_code/system/player_spawn_2.sqf b/SQF/dayz_code/system/player_spawn_2.sqf index d1f4f519d..678b1eacd 100644 --- a/SQF/dayz_code/system/player_spawn_2.sqf +++ b/SQF/dayz_code/system/player_spawn_2.sqf @@ -97,7 +97,7 @@ while {1 == 1} do { _outsideMap = ((dayz_myPosition select 0) < dayz_minpos || {(dayz_myPosition select 1) < dayz_minpos} || {(dayz_myPosition select 0) > dayz_maxpos} || {(dayz_myPosition select 1) > dayz_maxpos}); - if ((_outsideMap || {DZE_Quarantine}) && {!r_player_dead} && {!isNull (findDisplay 46)} && {player distance (getMarkerPos "respawn_west") > 15}) then { + if (_outsideMap && {!r_player_dead} && {!isNull (findDisplay 46)} && {player distance (getMarkerPos "respawn_west") > 15}) then { DZE_InRadiationZone = true; }; player setVariable["posForceUpdate",true,true];