mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-06-03 10:55:57 +00:00
Fixing a bug with the player id
This commit is contained in:
+2
-2
@@ -26,12 +26,12 @@ enum gc_mousekeys __)
|
|||||||
return (true);
|
return (true);
|
||||||
}
|
}
|
||||||
engine->change_scene(engine, scene);
|
engine->change_scene(engine, scene);
|
||||||
if (prefab_load(engine, "prefabs/map_entities.gcprefab") < 0)
|
|
||||||
return (true);
|
|
||||||
if (prefab_load(engine, "prefabs/player.gcprefab") < 0) {
|
if (prefab_load(engine, "prefabs/player.gcprefab") < 0) {
|
||||||
my_printf("Could not load the player.\n");
|
my_printf("Could not load the player.\n");
|
||||||
return (true);
|
return (true);
|
||||||
}
|
}
|
||||||
|
if (prefab_load(engine, "prefabs/map_entities.gcprefab") < 0)
|
||||||
|
return (true);
|
||||||
if (engine->get_callback(engine, "map_manage_click"))
|
if (engine->get_callback(engine, "map_manage_click"))
|
||||||
if (prefab_load(engine, "prefabs/editor_ui.gcprefab") < 0)
|
if (prefab_load(engine, "prefabs/editor_ui.gcprefab") < 0)
|
||||||
my_printf("Couldn't load the map editor's ui.\n");
|
my_printf("Couldn't load the map editor's ui.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user