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