We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--scene
1 parent d7bdc0b commit f285bf2Copy full SHA for f285bf2
main/main.cpp
@@ -3882,7 +3882,7 @@ int Main::start() {
3882
} else if (E->get() == "--scene") {
3883
E = E->next();
3884
if (E) {
3885
- game_path = E->get();
+ game_path = ResourceUID::ensure_path(E->get());
3886
} else {
3887
ERR_FAIL_V_MSG(EXIT_FAILURE, "Missing scene path, aborting.");
3888
}
@@ -3901,7 +3901,7 @@ int Main::start() {
3901
// or other file extensions without trouble. This can be used to implement
3902
// "drag-and-drop onto executable" logic, which can prove helpful
3903
// for non-game applications.
3904
+ game_path = scene_path;
3905
3906
3907
// Then parameters that have an argument to the right.
0 commit comments