Sync debug check

Vanilla development commit:

0baaac7a91
This commit is contained in:
ebaydayz
2016-07-23 15:23:00 -04:00
parent cc2aae59eb
commit 8202f7d61b

View File

@@ -25,15 +25,12 @@ if (_characterID == "0") exitWith {
_Achievements = []; _Achievements = [];
/* private["_debug","_distance"];
//No longer used _debug = getMarkerpos "respawn_west";
private["_debug","_distance"]; _distance = _debug distance _charPos;
_debug = getMarkerpos "respawn_west"; if (_distance < 1500) exitWith {
_distance = _debug distance _charPos; diag_log format["ERROR: server_playerSync: Cannot Sync Player %1 [%2]. Position in debug! %3",_name,_characterID,_charPos];
if (_distance < 2000) exitWith { };
// diag_log format["ERROR: server_playerSync: Cannot Sync Player %1 [%2]. Position in debug! %3",name _character,_characterID,_charPos];
};
*/
//Check for server initiated updates //Check for server initiated updates
_isNewMed = _character getVariable ["medForceUpdate",false]; //Med update is forced when a player receives some kind of med incident _isNewMed = _character getVariable ["medForceUpdate",false]; //Med update is forced when a player receives some kind of med incident