mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-05 12:15:52 +01:00
bf1196e6f1
This fixes a math error that caused sufficiently high firearms skill to wrap back around to less accurate guns. The fix is pretty simple, if the calculated dispersion (in degrees) is a negative number, it instead becomes 0. The dispersion math downstream of this effectively treats dispersion as a magnitude, meaning -15 degrees of dispersion was the same thing as 15 degrees, when the intended interaction was "Having -15 degrees of dispersion offsets the penalty from less accurate guns".