proper scene switch in demos
This commit is contained in:
		| @@ -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