This commit is contained in:
2021-04-07 01:24:57 +02:00
parent 5676b741d1
commit e4d6ebb1f2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;