FAForever / fa

Lua code for FAF
221 stars 228 forks source link

Fix rounding in beam damage calculation #6201

Closed lL1l1 closed 1 month ago

lL1l1 commented 1 month ago

Description of the proposed changes

BeamLifetime is in tenths, but was being rounded to ones BeamCollisionDelay could be set to weird numbers (ex: DSLK004). Continuation of #6115

Testing done on the proposed changes

Check the lightning tank's damage value in the UI, it should be 1400. Zapper remains at 1 damage.

Checklist