diff --git a/Fika.Core/Coop/GameMode/CoopGame.cs b/Fika.Core/Coop/GameMode/CoopGame.cs index 06e1fc73..768c2422 100644 --- a/Fika.Core/Coop/GameMode/CoopGame.cs +++ b/Fika.Core/Coop/GameMode/CoopGame.cs @@ -1524,6 +1524,18 @@ public override void Stop(string profileId, ExitStatus exitStatus, string exitNa CoopPlayer myPlayer = (CoopPlayer)Singleton.Instance.MainPlayer; myPlayer.PacketSender?.DestroyThis(); + if (myPlayer.Side != EPlayerSide.Savage) + { + if (myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem != null) + { + GStruct414 result = InteractionsHandlerClass.Remove(myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, myPlayer.GClass2761_0, false, true); + if (result.Error != null) + { + FikaPlugin.Instance.FikaLogger.LogWarning("CoopGame::Stop: Error removing dog tag!"); + } + } + } + if (!myPlayer.ActiveHealthController.IsAlive && exitStatus == ExitStatus.Survived) { exitStatus = ExitStatus.Killed;