diff --git a/scene/touch_config.lua b/scene/touch_config.lua index e8e1b57..45fe6f4 100644 --- a/scene/touch_config.lua +++ b/scene/touch_config.lua @@ -10,10 +10,11 @@ end function TouchConfigScene:render() MainBackground() + drawText('Select button', 10, 10, 100, 'center') -- 0,10 120,30 end function TouchConfigScene:onInputPress(e) - if e.key == 'menu_back' then SCENE = TitleScene() end + if e.input == 'menu_back' then SCENE = InputConfigScene() end end return TouchConfigScene \ No newline at end of file