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