You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Improve UID support for main scene
This commit is contained in:
@@ -3817,8 +3817,8 @@ int Main::start() {
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
if (script.is_empty() && game_path.is_empty() && String(GLOBAL_GET("application/run/main_scene")) != "") {
|
||||
game_path = GLOBAL_GET("application/run/main_scene");
|
||||
if (script.is_empty() && game_path.is_empty()) {
|
||||
game_path = ResourceUID::ensure_path(GLOBAL_GET("application/run/main_scene"));
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user