choice in conditional is not considered part of the block of choices if you place it at the end, choices after the conditional are not considered part of the block #165
Describe the bug
Choice in conditional is not considered part of a block of choices if you place it at the end, but is considered part of the block of choices if you place it in the middle
Steps To Reproduce
This code you only get 4 choices (no secret door)
# RootSection
var DoorsOpened = 3
## Puzzle
Pick a door to open!
You've opened {DoorsOpened} doors
_
- Open Door # 1 > Door1
- Open Door # 2 > Door2
- Open Door # 3 > Door3
+ I don't want to! > Continue
* if (DoorsOpened >= 3):
- Open the secret door > secret_door
In this code you get 5 choices (find the secret door)
# RootSection
var DoorsOpened = 3
## Puzzle
Pick a door to open!
You've opened {DoorsOpened} doors
_
- Open Door # 1 > Door1
- Open Door # 2 > Door2
- Open Door # 3 > Door3
+ I don't want to! > Continue
* if (DoorsOpened >= 3):
- Open the secret door > secret_door
In this code you get 3 choices (no secret door, no exit)
# RootSection
var DoorsOpened = 3
## Puzzle
Pick a door to open!
You've opened {DoorsOpened} doors
_
- Open Door # 1 > Door1
- Open Door # 2 > Door2
- Open Door # 3 > Door3
* if (DoorsOpened >= 3):
- Open the secret door > secret_door
+ I don't want to! > Continue
Describe the bug Choice in conditional is not considered part of a block of choices if you place it at the end, but is considered part of the block of choices if you place it in the middle
Steps To Reproduce
This code you only get 4 choices (no secret door)
In this code you get 5 choices (find the secret door)
In this code you get 3 choices (no secret door, no exit)
Screenshots