Fix scroll_container

This commit is contained in:
Jean-Patrick Guerrero 2021-01-14 15:18:55 +01:00
parent c4bfe59d2f
commit b71aaf24f3

View File

@ -1828,7 +1828,7 @@ local function get_ctn_content(fs, data, player, xoffset, yoffset, ctn_len, awar
if __3darmor then if __3darmor then
add_subtitle(fs, ES"Armor", 0, yextra, ctn_len, "+2") add_subtitle(fs, ES"Armor", 0, yextra, ctn_len, "+2")
fs(fmt("list[detached:%s_armor;armor;0,%f;3,2;]", name, yextra + 0.6)) fs(fmt("list[detached:%s_armor;armor;0,%f;3,2;]", ESC(name), yextra + 0.6))
local armor_def = armor.def[name] local armor_def = armor.def[name]
@ -1898,11 +1898,11 @@ local function get_inventory_mode(player, fs, data, full_height)
if __3darmor then if __3darmor then
max_val = max_val + 15 max_val = max_val + 15
end
if __skinsdb then if __skinsdb then
max_val = max_val + 20 max_val = max_val + 20
end end
end
if __awards then if __awards then
award_list = awards.get_award_states(name) award_list = awards.get_award_states(name)