From b71aaf24f331650d26bef7559c937dfc94ac1fd0 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 14 Jan 2021 15:18:55 +0100 Subject: [PATCH] Fix scroll_container --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 2401201..4b1e7b1 100644 --- a/init.lua +++ b/init.lua @@ -1828,7 +1828,7 @@ local function get_ctn_content(fs, data, player, xoffset, yoffset, ctn_len, awar if __3darmor then 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] @@ -1898,10 +1898,10 @@ local function get_inventory_mode(player, fs, data, full_height) if __3darmor then max_val = max_val + 15 - end - if __skinsdb then - max_val = max_val + 20 + if __skinsdb then + max_val = max_val + 20 + end end if __awards then