mirror of
https://github.com/minetest-mods/i3.git
synced 2025-09-09 18:25:25 +02:00
Small cleaning
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user