Fix the client thinking it cannot shoot after mispredicting when it actually can (#28464)
This commit is contained in:
@@ -186,6 +186,7 @@ public abstract partial class SharedGunSystem
|
|||||||
!Paused(uid))
|
!Paused(uid))
|
||||||
{
|
{
|
||||||
gunComp.NextFire = Timing.CurTime + TimeSpan.FromSeconds(1 / gunComp.FireRateModified);
|
gunComp.NextFire = Timing.CurTime + TimeSpan.FromSeconds(1 / gunComp.FireRateModified);
|
||||||
|
Dirty(uid, gunComp);
|
||||||
}
|
}
|
||||||
|
|
||||||
Dirty(uid, component);
|
Dirty(uid, component);
|
||||||
|
|||||||
Reference in New Issue
Block a user