From b393d1abacc880b9d94d4ce5d48ae39fbe417ad5 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 1 Aug 2023 18:21:08 +0100 Subject: Add animations to knife --- code/weapon/Pistol.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'code/weapon/Pistol.cs') diff --git a/code/weapon/Pistol.cs b/code/weapon/Pistol.cs index 567eb3e..4c0c70b 100644 --- a/code/weapon/Pistol.cs +++ b/code/weapon/Pistol.cs @@ -37,6 +37,7 @@ public partial class Pistol : Weapon public override void Reload() { ReloadEffects(); + Pawn?.SetAnimParameter( "b_reload", true ); } [ClientRpc] -- cgit v1.2.3-70-g09d2