Corentin Cailleaud commited on
Commit
e2de988
1 Parent(s): 2a8c80a
Files changed (1) hide show
  1. cubzh.lua +1 -2
cubzh.lua CHANGED
@@ -112,7 +112,6 @@ local onboardingConfig = {
112
  data.ui:parentDidResize()
113
 
114
  data.listener = LocalEvent:Listen(LocalEvent.Name.KeyboardInput, function(_, keycode, _, down)
115
- print(keycode)
116
  if keycode == require("inputcodes").RETURN then
117
  print("triggered")
118
  Timer(1, function()
@@ -120,7 +119,7 @@ local onboardingConfig = {
120
  end)
121
  data.listener:Remove()
122
  end
123
- end)
124
 
125
  return data
126
  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()
 
119
  end)
120
  data.listener:Remove()
121
  end
122
+ end, { topPriority = true })
123
 
124
  return data
125
  end,