mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 20:09:01 -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
|
elseif e.input == "menu_back" or e.scancode == "backspace" or e.scancode == "delete" then
|
||||||
love.event.quit()
|
love.event.quit()
|
||||||
else
|
else
|
||||||
self.text = self.text .. e.scancode
|
self.text = self.text .. (e.scancode ~= nil and e.scancode or "")
|
||||||
if self.text == "ffffff" then
|
if self.text == "ffffff" then
|
||||||
self.text_flag = true
|
self.text_flag = true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user