mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2025-12-06 05:46:09 +00:00
Fixing a mistake with the goto main menu
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user