ImpowerGames / impower

An all-in-one, community-powered indie development platform that gives creative people the tools they need to bring their ideas to life.
https://www.impower.app
2 stars 1 forks source link

Dynamic section without '|' separator does not display error and crashes runtime #171

Closed Wipeless closed 2 years ago

Wipeless commented 2 years ago

Describe the bug When giving the option to use different choices with {choice1|choice2}, this works as expected.

However, if I wanted to use a single choice {choice1}, this should either still work or an error generates to let me know that this is not a valid way to use braces.

Steps To Reproduce

  1. Create the following script:
    
    # Root

The root

{First}

^

First

First try

Root


2. Verify that no errors are generated.
3. Enter Play Mode

Expected Result The script will continue to the First section. Or if this is an invalid use of braces for a single option, then an error should be generated.

Actual Result The script gets stuck on the go-to > command.

Desktop (please complete the following information):

lovelle-cardoso commented 2 years ago

@Wipeless Fixed by 4424c03f

Wipeless commented 2 years ago

Verified!