diff --git a/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf b/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf index 5407e68..0ffdfd1 100644 --- a/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf +++ b/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf @@ -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; diff --git a/Exile.Altis/Custom/EnigmaRevive/init.sqf b/Exile.Altis/Custom/EnigmaRevive/init.sqf index b031bcd..882c5a7 100644 --- a/Exile.Altis/Custom/EnigmaRevive/init.sqf +++ b/Exile.Altis/Custom/EnigmaRevive/init.sqf @@ -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