diff --git a/CorsixTH/Lua/dialogs/fullscreen/town_map.lua b/CorsixTH/Lua/dialogs/fullscreen/town_map.lua index 84bcfa21e..b68a8a075 100644 --- a/CorsixTH/Lua/dialogs/fullscreen/town_map.lua +++ b/CorsixTH/Lua/dialogs/fullscreen/town_map.lua @@ -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) @@ -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