Fix the client thinking it cannot shoot after mispredicting when it actually can (#28464)

This commit is contained in:
DrSmugleaf
2024-06-01 02:35:14 -07:00
committed by GitHub
parent 727a176ca8
commit e3a66136bf

View File

@@ -186,6 +186,7 @@ public abstract partial class SharedGunSystem
!Paused(uid))
{
gunComp.NextFire = Timing.CurTime + TimeSpan.FromSeconds(1 / gunComp.FireRateModified);
Dirty(uid, gunComp);
}
Dirty(uid, component);