Fix distanceFoot database stat

Vanilla commit: https://github.com/DayZMod/DayZ/commit/741df600855f5f1c6c625aae6222d4539901dbe1
This commit is contained in:
ebayShopper
2018-07-29 13:54:57 -04:00
parent 2c4f06c984
commit be777dd42a
3 changed files with 3 additions and 6 deletions
-3
View File
@@ -58,9 +58,6 @@ while {1 == 1} do {
_mylastPos = _tempPos;
};
if (!isNil "_mylastPos") then {
dayz_mylastPos = _mylastPos;
};
dayz_areaAffect = _size;
if (_speed > 0.1) then {
@@ -166,7 +166,6 @@ if (count _stats > 0) then {
};
if (_randomSpot) then {
private ["_counter","_position","_isNear","_isZero","_mkr"];
if (!isDedicated) then {endLoadingScreen;};
_IslandMap = (toLower worldName in ["caribou","cmr_ovaron","dayznogova","dingor","dzhg","fallujah","fapovo","fdf_isle1_a","isladuala","lingor","mbg_celle2","namalsk","napf","oring","panthera2","ruegen","sara","sauerland","smd_sahrani_a2","tasmania2010","tavi","trinity","utes"]);
@@ -213,7 +212,7 @@ if (_randomSpot) then {
//record player pos locally for server checking
_playerObj setVariable ["characterID",_characterID,true];
_playerObj setVariable ["humanity",_humanity,true];
_playerObj setVariable ["lastPos",getPosATL _playerObj];
_playerObj setVariable ["lastPos",_position];
_clientID = owner _playerObj;
_randomKey = [];