|
|
@ -293,7 +293,7 @@ function Mode:get_user_input()
|
|
|
|
-- set the global input variable to the new input.
|
|
|
|
-- set the global input variable to the new input.
|
|
|
|
self.input:set(user_input)
|
|
|
|
self.input:set(user_input)
|
|
|
|
|
|
|
|
|
|
|
|
if ZERO <= user_input and user_input <= NINE then
|
|
|
|
if type(user_input) == "number" and ZERO <= user_input and user_input <= NINE then
|
|
|
|
local oldCount = self.count:get()
|
|
|
|
local oldCount = self.count:get()
|
|
|
|
local newCount = tonumber(oldCount .. string.char(user_input))
|
|
|
|
local newCount = tonumber(oldCount .. string.char(user_input))
|
|
|
|
self.count:set(newCount)
|
|
|
|
self.count:set(newCount)
|
|
|
|