Fix .tscn not raising dependency error

This commit is contained in:
Franklin Sobrinho 2016-01-24 19:05:32 -03:00
parent c247f5ad61
commit 1cfe20562d

View file

@ -85,8 +85,7 @@ Error ResourceInteractiveLoaderText::_parse_ext_resource(VariantParser::Stream*
r_res=ResourceLoader::load(path,type);
if (r_res.is_null()) {
r_err_str="Couldn't load external resource: "+path;
return ERR_PARSE_ERROR;
WARN_PRINT(String("Couldn't load external resource: "+path).utf8().get_data());
}
VariantParser::get_token(p_stream,token,line,r_err_str);