From 806c2c0f21cefad772c0182b0e1924c55a58fe7a Mon Sep 17 00:00:00 2001 From: Anonymus Raccoon Date: Sun, 3 May 2020 19:34:12 +0200 Subject: [PATCH] Fixing a mistake with the goto main menu --- src/main_menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main_menu.c b/src/main_menu.c index 8feceaa..644eefe 100644 --- a/src/main_menu.c +++ b/src/main_menu.c @@ -77,6 +77,7 @@ enum gc_mousekeys __) if (!scene) scene = scene_create(engine, "prefabs/mainmenu.gcprefab"); + GETSYS(engine, game_manager_system)->game_scene = NULL; if (!scene) { engine->should_close = true; my_printf("The option scene couldn't be loaded.\n");