SharedGunSystem spread bugfix (#38960)

two bytes
This commit is contained in:
KOTOB 2025-07-12 20:59:05 -07:00 committed by GitHub
parent cdf049038f
commit f3ce428165
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -567,7 +567,7 @@ public abstract partial class SharedGunSystem : EntitySystem
DirtyField(gun, nameof(GunComponent.AngleDecayModified));
}
if (!comp.MaxAngleModified.EqualsApprox(ev.MinAngle))
if (!comp.MaxAngleModified.EqualsApprox(ev.MaxAngle))
{
comp.MaxAngleModified = ev.MaxAngle;
DirtyField(gun, nameof(GunComponent.MaxAngleModified));