mirror of https://github.com/godotengine/godot
Merge pull request #115116 from onequid/debug-features
Ensure debug features get cleared after use
This commit is contained in:
commit
769284ffef
|
|
@ -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…
Reference in New Issue