Make server_playerSync exit log more accurate

This will now show INFO instead of ERROR when sync exits while a player
is changing clothes.
This commit is contained in:
ebayShopper
2017-02-26 15:28:17 -05:00
parent 0eaa995d27
commit f0ef0fce35
2 changed files with 11 additions and 15 deletions

View File

@@ -19,12 +19,12 @@ _playerObj = nil;
//If playerObj is not in playableUnits then lets exit the disconnect system.
if (isNil "_playerObj") exitWith {
diag_log format["%1: Exiting. Player is not in playableUnits. _this:%2", __FILE__, _this];
diag_log format["INFO: OnPlayerDisconnect exiting. Player is not in playableUnits. %1", _this];
};
//Player object is alive in debug zone. The player most likely just respawned.
if (_playerPos distance respawn_west_original < 1500) exitWith {
diag_log format["%1: Exiting. Player is near respawn_west. This is normal if the player just died. _this:%2", __FILE__, _this];
diag_log format["INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. %1", _this];
if (!isNull _playerObj) then {
_playerObj call sched_co_deleteVehicle;
};