You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #29283 from qarmin/fix_some_always_same_values
Remove always true/false values
This commit is contained in:
@@ -1915,9 +1915,7 @@ Ref<TextFile> ScriptEditor::_load_text_file(const String &p_path, Error *r_error
|
||||
Ref<TextFile> text_res(text_file);
|
||||
Error err = text_file->load_text(path);
|
||||
|
||||
if (err != OK) {
|
||||
ERR_FAIL_COND_V(err != OK, RES());
|
||||
}
|
||||
ERR_FAIL_COND_V(err != OK, RES());
|
||||
|
||||
text_file->set_file_path(local_path);
|
||||
text_file->set_path(local_path, true);
|
||||
|
||||
Reference in New Issue
Block a user