You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
added a built-in scene changer API, closes #1928
This commit is contained in:
@@ -1248,7 +1248,8 @@ bool Main::start() {
|
||||
|
||||
ERR_EXPLAIN("Failed loading scene: "+local_game_path);
|
||||
ERR_FAIL_COND_V(!scene,false)
|
||||
sml->get_root()->add_child(scene);
|
||||
//sml->get_root()->add_child(scene);
|
||||
sml->add_current_scene(scene);
|
||||
|
||||
String iconpath = GLOBAL_DEF("application/icon","Variant()""");
|
||||
if (iconpath!="") {
|
||||
|
||||
Reference in New Issue
Block a user