Skip to content

Commit f0cbd38

Browse files
committed
Ignore ERR_FILE_CANT_OPEN error when loading scene
1 parent 655e93d commit f0cbd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/variant/variant_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream,
10271027
Error err = p_res_parser->ext_func(p_res_parser->userdata, p_stream, res, line, r_err_str);
10281028
if (err) {
10291029
// If the file is missing, the error can be ignored.
1030-
if (err != ERR_FILE_NOT_FOUND && err != ERR_CANT_OPEN) {
1030+
if (err != ERR_FILE_NOT_FOUND && err != ERR_CANT_OPEN && err != ERR_FILE_CANT_OPEN) {
10311031
return err;
10321032
}
10331033
}

0 commit comments

Comments
 (0)