From e4d6ebb1f23ee717deef283649edadfcb26c7f80 Mon Sep 17 00:00:00 2001 From: kookroach Date: Wed, 7 Apr 2021 01:24:57 +0200 Subject: [PATCH] fix --- ReallifeGamemode.Server/Commands/UserCommands.cs | 2 +- ReallifeGamemode.Server/Events/Key.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/UserCommands.cs b/ReallifeGamemode.Server/Commands/UserCommands.cs index 982b6082..e677e0c5 100644 --- a/ReallifeGamemode.Server/Commands/UserCommands.cs +++ b/ReallifeGamemode.Server/Commands/UserCommands.cs @@ -106,7 +106,7 @@ namespace ReallifeGamemode.Server.Commands [Command("hup")] public void CmdAnim(Player player) { - if (player.HasAnimation("hup")) { player.StopAnimation(); } + if (player.HasAnimation("hup")) { player.ClearAnimation(); } if (player.HasAnimation()) return; diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index 86d921e0..3d833357 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -969,7 +969,7 @@ namespace ReallifeGamemode.Server.Events [RemoteEvent("keyPress:ControllH")] public void KeyPressControllH(Player player) { - if (player.HasAnimation("hup")) { player.StopAnimation(); } + if (player.HasAnimation("hup")) { player.ClearAnimation(); } if (player.HasAnimation()) return;