1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-07-15 01:24:37 +02:00

Merge pull request #1115 from grilledham/retailer_fix

fix not converting number to string
This commit is contained in:
grilledham
2020-11-29 19:45:55 +00:00
committed by GitHub

View File

@ -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