Skip to content

Commit

Permalink
Update SnapBufferReadYAML.gml
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Mar 5, 2023
1 parent a9f212f commit 4736cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/SnapBufferReadYAML/SnapBufferReadYAML.gml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ function __SnapFromYAMLBufferBuilder(_tokens_array, _replace_keywords, _track_fi
{
if (tokens_array[token_index][0] != __SNAP_YAML.ARRAY) break;
++token_index; //Skip over the array symbol
indent += 2;

var _last_line = line;
read_to_next();
Expand All @@ -445,7 +446,6 @@ function __SnapFromYAMLBufferBuilder(_tokens_array, _replace_keywords, _track_fi
}
else
{
indent += 2;
_array[@ array_length(_array)] = read();
}

Expand Down

0 comments on commit 4736cff

Please sign in to comment.