You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I noted under a different issue, having leading spaces in a line could affect the parsing of boolean conditions inside curly brackets. Here's a simple test that demonstrates this issue:
[Test()]
public void TestLineBreakAfterChoiceLabel()
{
Story story1 = CompileString(@"
* (label)
{true} choice text
");
Story story2 = CompileString(@"
* (label)
{true} choice text
");
story1.Continue();
String result1 = story1.currentChoices[0].text; // "choice text"
story2.Continue();
String result2 = story2.currentChoices[0].text; // "true choice text"
}
The text was updated successfully, but these errors were encountered:
As I noted under a different issue, having leading spaces in a line could affect the parsing of boolean conditions inside curly brackets. Here's a simple test that demonstrates this issue:
The text was updated successfully, but these errors were encountered: