see if this stops the dupes

This commit is contained in:
happydayz 2016-09-03 13:48:39 +10:00
parent 0251e8bbba
commit 473e0441e8
2 changed files with 4 additions and 1 deletions

View File

@ -332,7 +332,7 @@ call ExileServer_system_network_send_to;
[_requestingPlayer] joinSilent ExileServerGraveyardGroup;
deleteVehicle _requestingPlayer;
EnigmaRevive = [_player];
EnigmaRevive = [_player,_requestingPlayer];
_ownerID publicVariableClient "EnigmaRevive";
_player allowDamage true;

View File

@ -68,6 +68,9 @@ player setVariable["antidupe", 1, true];
private["_newPlayerObject","_oldPlayerObject","_packet","_weapon","_reviver"];
_packet = _this select 1;
_newPlayerObject = _packet select 0;
_oldPlayerObject = _packet select 1;
deleteVehicle _oldPlayerObject; //because the server doesnt seem to be doing its job
if (alive _newPlayerObject) then
{
if (isPlayer _newPlayerObject) then