Better string formatting

This commit is contained in:
Jean-Patrick Guerrero 2021-01-23 01:55:23 +01:00
parent 1cd2bd21d7
commit fcf30daca2
1 changed files with 1 additions and 1 deletions

View File

@ -1548,7 +1548,7 @@ local function get_export_fs(fs, data, is_recipe, is_usage, max_stacks_rcp, max_
fmt("scrollbar",
data.xoffset + 8.1, data.yoffset, 3, 0.35, sprintf("scrbar_%s", name), stack_fs),
fmt("button", data.xoffset + 8.1, data.yoffset + 0.4, 3, 0.7, sprintf("craft_%s", name),
fmt("%s", fmt(ES"Craft x %u", stack_fs))))
ES("Craft (x@1)", stack_fs)))
end
local function get_rcp_extra(player, fs, data, panel, is_recipe, is_usage)