Show only 1 digit after the decimal point

master
Wuzzy 2015-02-10 01:22:25 +01:00
parent 1ac3ed1d72
commit 9b608a4613
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if minetest.get_modpath("hudbars") ~= nil then
hb.register_hudbar("sprint", 0xFFFFFF, "Stamina",
{ bar = "sprint_stamina_bar.png", icon = "sprint_stamina_icon.png" },
SPRINT_STAMINA, SPRINT_STAMINA,
false, "%s: %.2f/%.2f")
false, "%s: %.1f/%.1f")
SPRINT_HUDBARS_USED = true
else
SPRINT_HUDBARS_USED = false