1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +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
commit f450acaa69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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