From ffa431f921233dbe048b8b5d556c81aca2c26f64 Mon Sep 17 00:00:00 2001 From: James Gillham Date: Sun, 29 Nov 2020 19:44:13 +0000 Subject: [PATCH] fix not converting number to string --- features/retailer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/retailer.lua b/features/retailer.lua index ed16c331..079a1a87 100644 --- a/features/retailer.lua +++ b/features/retailer.lua @@ -523,7 +523,7 @@ Gui.on_text_changed(count_text_name, function (event) count = floor(count) count = clamp(count, 1, 1000) data.count = count - data.text.text = count + data.text.text = tostring(count) else data.count = 1 end