PuzzleScript icon indicating copy to clipboard operation
PuzzleScript copied to clipboard

message triggered during run_rules_on_level_start overrides message triggered on restart command

Open increpare opened this issue 2 years ago • 2 comments

https://github.com/increpare/PuzzleScript/issues/627#issuecomment-840052984

repro example

run_rules_on_level_start
OBJECTS
Background
black
Player
green
test
transparent
LEGEND
P = Player
t = test
SOUNDS
COLLISIONLAYERS
Background
Player
test
RULES
[test] -> message test
[test] -> []
[action Player] -> restart  message action
WINCONDITIONS
LEVELS
tP

increpare avatar Jul 29 '21 12:07 increpare

this is so unimportant and edgecasey

increpare avatar Jul 29 '21 14:07 increpare

(I guess I could have a queue of messages)

increpare avatar Jul 29 '21 18:07 increpare