diff --git a/Fika.Core/Coop/GameMode/CoopGame.cs b/Fika.Core/Coop/GameMode/CoopGame.cs index 4dda819f..00eee33b 100644 --- a/Fika.Core/Coop/GameMode/CoopGame.cs +++ b/Fika.Core/Coop/GameMode/CoopGame.cs @@ -1374,8 +1374,15 @@ public override void Stop(string profileId, ExitStatus exitStatus, string exitNa wavesSpawnScenario_0?.Stop(); - PlayerLeftRequest body = new PlayerLeftRequest(myPlayer.ProfileId); - FikaRequestHandler.RaidLeave(body); + try + { + PlayerLeftRequest body = new(myPlayer.ProfileId); + FikaRequestHandler.RaidLeave(body); + } + catch (Exception) + { + FikaPlugin.Instance.FikaLogger.LogError("Unable to send RaidLeave request to server."); + } if (CoopHandler.TryGetCoopHandler(out CoopHandler coopHandler)) {