Gun + PKA fixes (#16244)

This commit is contained in:
metalgearsloth
2023-05-08 22:37:40 +10:00
committed by GitHub
parent 892eb24c51
commit 84e1b6f695
10 changed files with 141 additions and 114 deletions

View File

@@ -62,7 +62,9 @@ public sealed partial class GunSystem
// share as much code as possible
if (!Timing.IsFirstTimePredicted ||
!TryComp<AmmoCounterComponent>(uid, out var clientComp))
{
return;
}
UpdateAmmoCount(uid, clientComp);
}