mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:29:02 -06:00
Fixed an issue with controllers on the menu
This commit is contained in:
parent
8008315994
commit
a89bf05cab
@ -102,7 +102,7 @@ function TitleScene:onInputPress(e)
|
||||
elseif e.input == "menu_back" or e.scancode == "backspace" or e.scancode == "delete" then
|
||||
love.event.quit()
|
||||
else
|
||||
self.text = self.text .. e.scancode
|
||||
self.text = self.text .. (e.scancode ~= nil and e.scancode or "")
|
||||
if self.text == "ffffff" then
|
||||
self.text_flag = true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user