mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 19:30:40 +01:00
Small cleaning
This commit is contained in:
parent
3e48d288db
commit
479ec368d7
8
init.lua
8
init.lua
@ -1769,10 +1769,10 @@ local function get_award_list(fs, ctn_len, yextra, award_list, awards_unlocked,
|
|||||||
|
|
||||||
local box_len = 4.39
|
local box_len = 4.39
|
||||||
|
|
||||||
fs(fmt("image", 0, y + 0.01, icon_size, icon_size, icon))
|
fs(fmt("image", 0, y + 0.01, icon_size, icon_size, icon),
|
||||||
fs(fmt("tooltip", 0, y + 0.01, icon_size, icon_size,
|
fmt("tooltip", 0, y + 0.01, icon_size, icon_size,
|
||||||
sprintf("%s\n%s", clr("#ff0", title), desc)))
|
sprintf("%s\n%s", clr("#ff0", title), desc)),
|
||||||
fs(fmt("box", icon_size + 0.1, y, box_len, icon_size, "#bababa25"))
|
fmt("box", icon_size + 0.1, y, box_len, icon_size, "#bababa25"))
|
||||||
|
|
||||||
if progress then
|
if progress then
|
||||||
local current, target = progress.current, progress.target
|
local current, target = progress.current, progress.target
|
||||||
|
Loading…
Reference in New Issue
Block a user