diff options
| author | Pedro J. Estébanez | 2016-09-14 04:02:18 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez | 2016-09-14 04:02:18 +0200 |
| commit | 66dac878ac9fc278044281b7f67fbed668e4523d (patch) | |
| tree | 2f1b099566a50eb624215a14ff837ed2f828fc59 /main/main.cpp | |
| parent | 6f7b2d277fc068264b72b0a39d464da03807c628 (diff) | |
| download | godot-66dac878ac9fc278044281b7f67fbed668e4523d.tar.gz godot-66dac878ac9fc278044281b7f67fbed668e4523d.tar.zst godot-66dac878ac9fc278044281b7f67fbed668e4523d.zip | |
Diffstat (limited to 'main/main.cpp')
| -rw-r--r-- | main/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index e339f399d..e8c989c88 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -560,6 +560,16 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas goto error; } + } else if (I->get()=="-epid") { + if (I->next()) { + + int editor_pid=I->next()->get().to_int(); + Globals::get_singleton()->set("editor_pid",editor_pid); + N=I->next()->next(); + } else { + goto error; + + } } else { //test for game path |
