mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Prevent issues caused by respawn_west marker being moved
Vanilla commit:
39bcedb4b6
This commit is contained in:
@@ -3,7 +3,6 @@ disableSerialization;
|
||||
_timeOut = 0;
|
||||
_messTimer = 0;
|
||||
_lastTemp = dayz_temperatur;
|
||||
_debug = getMarkerpos "respawn_west";
|
||||
_isPZombie = player isKindOf "PZombie_VB";
|
||||
_radTimer = 0;
|
||||
|
||||
@@ -48,7 +47,7 @@ while {1 == 1} do {
|
||||
//reset position
|
||||
_randomSpot = true;
|
||||
_tempPos = getPosATL player;
|
||||
_distance = _debug distance _tempPos;
|
||||
_distance = respawn_west_original distance _tempPos;
|
||||
if (_distance < 2000) then {
|
||||
_randomSpot = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user