Fixing a mistake with the goto main menu

This commit is contained in:
Anonymus Raccoon
2020-05-03 19:34:12 +02:00
parent cb03cdd844
commit 806c2c0f21

View File

@@ -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");