Skip to content

Commit

Permalink
GH-680 Fix crash on load
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Aug 11, 2024
1 parent 83fe963 commit 90bbe88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/serialization/text_loader_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ void OScriptTextResourceLoaderInstance::open(const Ref<FileAccess>& p_file, bool

if (!p_skip_first_tag)
{
if (const Error err = OScriptVariantParser::parse_tag(&_stream, _lines, _next_tag, _error_text, &_rp))
if (const Error err = OScriptVariantParser::parse_tag(&_stream, _lines, _next_tag, _error_text))
{
_error_text = "Unexpected end of file";
_printerr();
Expand Down

0 comments on commit 90bbe88

Please sign in to comment.