Remove unused variable

This commit is contained in:
A Man
2020-04-27 18:13:26 +02:00
parent 5056f9c91c
commit b965de32fb
2 changed files with 1 additions and 3 deletions

View File

@@ -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.
};

View File

@@ -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];