diff --git a/lua/sim/Unit.lua b/lua/sim/Unit.lua index b470338c3d..69b04a6ec9 100644 --- a/lua/sim/Unit.lua +++ b/lua/sim/Unit.lua @@ -1085,9 +1085,9 @@ Unit = ClassUnit(moho.unit_methods, IntelComponent, VeterancyComponent) { local buildrate = cUnitGetBuildRate(self) if buildrate < 0 then buildrate = 0.00001 - else - return buildrate end + + return buildrate end, ---@param self Unit