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:
commit
f450acaa69
@ -523,7 +523,7 @@ Gui.on_text_changed(count_text_name, function (event)
|
|||||||
count = floor(count)
|
count = floor(count)
|
||||||
count = clamp(count, 1, 1000)
|
count = clamp(count, 1, 1000)
|
||||||
data.count = count
|
data.count = count
|
||||||
data.text.text = count
|
data.text.text = tostring(count)
|
||||||
else
|
else
|
||||||
data.count = 1
|
data.count = 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user