Ensure debug features get cleared

(cherry picked from commit e5a7fdbfd52d079872a6f2f463a09e00634079a8)
This commit is contained in:
onequid
2026-01-19 14:05:21 +08:00
committed by Thaddeus Crews
parent 448bc52537
commit e3badfb393
+2 -1
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;
}