We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab84ff9 commit b0f1c6eCopy full SHA for b0f1c6e
1 file changed
data/modules/Equipment/Stats.lua
@@ -58,7 +58,7 @@ end
58
---@class Equipment.LaserType
59
local LaserType = EquipTypes.LaserType
60
61
-local format_rpm = function(v) return string.format("%d RPM", 60 / v) end
+local format_rpm = function(v) return string.format("%d RPM", v == 0 and 0 or 60 / v) end
62
local format_speed = function(v) return string.format("%.1f%s", v, lc.UNIT_METERS_PER_SECOND) end
63
64
function LaserType:GetDetailedStats()
0 commit comments