Corentin Cailleaud
commited on
Commit
·
e87be98
1
Parent(s):
c7da972
cubzh.lua
CHANGED
@@ -111,8 +111,8 @@ local onboardingConfig = {
|
|
111 |
end
|
112 |
data.ui:parentDidResize()
|
113 |
|
114 |
-
data.listener = LocalEvent:Listen(LocalEvent.Name.KeyboardInput, function(
|
115 |
-
if
|
116 |
print("triggered")
|
117 |
Timer(1, function()
|
118 |
onboarding:next()
|
|
|
111 |
end
|
112 |
data.ui:parentDidResize()
|
113 |
|
114 |
+
data.listener = LocalEvent:Listen(LocalEvent.Name.KeyboardInput, function(_, keycode, _, down)
|
115 |
+
if keycode == require("inputcodes").RETURN then
|
116 |
print("triggered")
|
117 |
Timer(1, function()
|
118 |
onboarding:next()
|