From 940e17eff7ffea9967e73ca839ae96eebbd693bf Mon Sep 17 00:00:00 2001 From: "Squishy (C6H12O6+NaCl+H2O)" <106439598+SweetSea-ButImNotSweet@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:48:09 +0700 Subject: [PATCH] Test --- scene/touch_config.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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