Verify that target isn't already dead or dc'd

This commit is contained in:
Atony committed 2026-03-10 18:04:22 -05:00
1 parent 8940de76bb
commit 9270de408d
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@ public static class CustomMurderRpc
bool showKillAnim = true,
bool playKillSound = true)
{
if (LobbyBehaviour.Instance || !host.IsHost())
if (LobbyBehaviour.Instance || !host.IsHost() || target.Data.IsDead || target.Data.Disconnected)
{
return;
}