mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove unused variable
This commit is contained in:
@@ -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.
|
||||
};
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user