Skip to content

Commit

Permalink
Remove not so useful comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Matroftt authored Sep 19, 2024
1 parent 264e721 commit 6931464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CorsixTH/Lua/dialogs/fullscreen/town_map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function UITownMap:draw(canvas, x, y)
self.info_font:draw(canvas, radiators, x + 95, y + 265)

-- Heating costs
local heating_costs = app.config.free_build_mode and 0 -- Everything is 0$ in free build mode
local heating_costs = app.config.free_build_mode and 0
or math.floor(((hospital.heating.radiator_heat *10)* radiators)* 7.5)
self.info_font:draw(canvas, ("%8i"):format(heating_costs), x + 100, y + 355)

Expand Down Expand Up @@ -304,7 +304,7 @@ function UITownMap:draw(canvas, x, y)
local owner_num = map.th:getPlotOwner(self.hover_plot)
if owner_num == 0 then
owner = _S.town_map.for_sale
price = app.config.free_build_mode and "$0" -- Everything is 0$ in free build mode
price = app.config.free_build_mode and "$0"
or ("$" .. map:getParcelPrice(self.hover_plot))
else
owner = world.hospitals[owner_num].name
Expand Down

0 comments on commit 6931464

Please sign in to comment.