mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Improve UID support for main scene
This commit is contained in:
parent
b9437c3938
commit
62d4928e86
3 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue