From fcf30daca29f07cf7ca33b4ca02311f9a5ee7a67 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sat, 23 Jan 2021 01:55:23 +0100 Subject: [PATCH] Better string formatting --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 13f32b7..441055f 100644 --- a/init.lua +++ b/init.lua @@ -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)