Removed Achievements from sync.

Vanilla development commit:

09313b2376
This commit is contained in:
ebaydayz
2016-05-02 14:26:35 -04:00
parent 4df9a1e00b
commit dfe68c7824

View File

@@ -3,7 +3,6 @@ private ["_characterID","_temp","_currentWpn","_magazines","_force","_isNewPos",
_character = _this select 0; _character = _this select 0;
_magazines = _this select 1; _magazines = _this select 1;
_Achievements = _character getVariable "Achievements";
_characterID = _character getVariable ["characterID","0"]; _characterID = _character getVariable ["characterID","0"];
_force = true; _force = true;
_charPos = getPosATL _character; _charPos = getPosATL _character;
@@ -24,10 +23,7 @@ if (_characterID == "0") exitWith {
diag_log ("ERROR: Cannot Sync Character " + _name + " as no characterID"); diag_log ("ERROR: Cannot Sync Character " + _name + " as no characterID");
}; };
if (isNil {_Achievements}) exitWith { _Achievements = [];
diag_log ("ERROR: Cannot Sync Achievements " + _name + " has no default Achievements");
_Achievements = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
};
/* /*
//No longer used //No longer used