mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Fix virtual button method
This commit is contained in:
@@ -57,6 +57,8 @@ function TrainingScene:onInputPress(e)
|
||||
SCENE = TitleScene()
|
||||
elseif (e.input == "menu_back") then
|
||||
SCENE = TitleScene()
|
||||
elseif e.input == "restart" or e.input == "menu_decide" then
|
||||
SCENE = TrainingScene()
|
||||
elseif e.input and string.sub(e.input, 1, 5) ~= "menu_" then
|
||||
self.inputs[e.input] = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user