Merge pull request #115116 from onequid/debug-features
Ensure debug features get cleared after use
This commit is contained in:
commit
769284ffef
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
|
|||
if (!p_scene.is_empty()) {
|
||||
running_scene = p_scene;
|
||||
}
|
||||
|
||||
// Clear debug features in environment
|
||||
OS::get_singleton()->unset_environment("GODOT_EDITOR_CUSTOM_FEATURES");
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue