mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
Prevent death animation spam
This commit is contained in:
1 parent
6c8e214d73
commit
b59d193df5
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public class KillOverlayPatch
|
||||
{
|
||||
[HarmonyPatch(nameof(KillOverlay.ShowKillAnimation))]
|
||||
[HarmonyPrefix]
|
||||
private static bool ShowKillAnimation_Prefix()
|
||||
public static bool ShowKillAnimation_Prefix()
|
||||
{
|
||||
if (!PlayerControl.LocalPlayer.IsAlive())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user