1
0
Fork 0

Merge pull request #115116 from onequid/debug-features

Ensure debug features get cleared after use
This commit is contained in:
Thaddeus Crews 2026-01-26 13:14:19 -06:00
commit 769284ffef
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}