Skip to content

Commit

Permalink
only show 3 decimals for ore per minute
Browse files Browse the repository at this point in the history
  • Loading branch information
wchristian committed May 12, 2019
1 parent 99e3790 commit 5c55dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resmon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ function resmon.print_single_site(site, player, sites_gui, player_data)
el.style.font_color = color

el = sites_gui.add{type="label", name="YARM_label_ore_per_minute_"..site.name,
caption={"YARM-ore-per-minute", site.ore_per_minute}}
caption={"YARM-ore-per-minute", string.format("%.3f", site.ore_per_minute)}}
el.style.font_color = color

el = sites_gui.add{type="label", name="YARM_label_etd_"..site.name,
Expand Down

0 comments on commit 5c55dad

Please sign in to comment.