I use entity values for things like signs and some interactable button prompts. I noticed after the transition between C# and GDScript that the parser behaviour has changed:
I'm not familiar with the format's grammar and found what I think is the source of the bug by tracing back through the control flow manually. It seems that the parsing rules are subtly different and now strings containing spaces are sometimes parsed incorrectly, with extra spaces added and sometimes spaces being snipped out erroneously.
This PR is a small change to the parsing logic that hopefully fixes the issue.
I use entity values for things like signs and some interactable button prompts. I noticed after the transition between C# and GDScript that the parser behaviour has changed:
I'm not familiar with the format's grammar and found what I think is the source of the bug by tracing back through the control flow manually. It seems that the parsing rules are subtly different and now strings containing spaces are sometimes parsed incorrectly, with extra spaces added and sometimes spaces being snipped out erroneously.
This PR is a small change to the parsing logic that hopefully fixes the issue.