diff --git a/MiraAPI/Networking/CustomMurderRpc.cs b/MiraAPI/Networking/CustomMurderRpc.cs index 7b862e1c..c7ab968b 100644 --- a/MiraAPI/Networking/CustomMurderRpc.cs +++ b/MiraAPI/Networking/CustomMurderRpc.cs @@ -169,7 +169,14 @@ public static class CustomMurderRpc if (showKillAnim) { - HudManager.Instance.KillOverlay.ShowKillAnimation(source.Data, data); + try + { + HudManager.Instance.KillOverlay.ShowKillAnimation(source.Data, data); + } + catch + { + // ignored + } } target.cosmetics.SetNameMask(false); @@ -202,7 +209,7 @@ public static class CustomMurderRpc bool teleportMurderer = true) { var cam = Camera.main?.GetComponent(); - var isParticipant = PlayerControl.LocalPlayer == source || PlayerControl.LocalPlayer == target; + var isParticipant = source.AmOwner || target.AmOwner; var sourcePhys = source.MyPhysics; if (teleportMurderer)