proper scene switch in demos
This commit is contained in:
parent
fd642171a4
commit
78034b69f5
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user