You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Do not call _validate_script if editor is not enabled
(cherry picked from commit 0fbc857e3f)
This commit is contained in:
committed by
Rémi Verschelde
parent
e5add91a46
commit
2eda411cca
@@ -341,7 +341,9 @@ void ScriptTextEditor::reload_text() {
|
||||
te->tag_saved_version();
|
||||
|
||||
code_editor->update_line_and_column();
|
||||
_validate_script();
|
||||
if (editor_enabled) {
|
||||
_validate_script();
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptTextEditor::add_callback(const String &p_function, PackedStringArray p_args) {
|
||||
|
||||
Reference in New Issue
Block a user