Prevent issues caused by respawn_west marker being moved

Vanilla commit:

39bcedb4b6
This commit is contained in:
ebaydayz
2016-12-05 14:37:28 -05:00
parent 2db6692643
commit 5058308f00
11 changed files with 20 additions and 23 deletions

View File

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