proper scene switch in demos
This commit is contained in:
1 parent
fd642171a4
commit
78034b69f5
2 files changed
+2
No files matched your search
@@ -16,6 +16,7 @@ static void title_tick(State *state) {
|
||||
|
||||
if (input_is_action_just_pressed(&state->ctx->input, "ui_accept")) {
|
||||
switch_to(state, ingame_scene);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ static void title_tick(State *state) {
|
||||
|
||||
if (input_is_action_just_pressed(&state->ctx->input, "ui_accept")) {
|
||||
switch_to(state, ingame_scene);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user