increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

message triggered during run_rules_on_level_start overrides message triggered on restart command #676

Open increpare opened 3 years ago

increpare commented 3 years ago

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 commented 3 years ago

this is so unimportant and edgecasey

increpare commented 3 years ago

(I guess I could have a queue of messages)