MantisBT - Core Inform
View Issue Details
0000856Core InformScenespublic2012-01-30 12:042014-05-07 07:33
x86Mac OS X10.5
(serious/mild) Game compiles but misbehaves
0000856: "when a scene ends" rule runs twice if scene has multiple endings
I would expect that a "when a scene ends" rule would run exactly once when each scene ends. However, this does not seem to be the case.
Once Upon a Time is a scene. Once Upon a Time begins when play begins. Once Upon a Time ends musically when singing. Once Upon a Time ends bouncily when jumping.

When a scene ends:
say "This should only happen once.";

Test is a room.

test me with "scenes/rules/jump"
Changing the preamble to "When Once Upon a Time ends" eliminates the problem.
No tags attached.
Issue History
2012-01-30 12:04capmikeeNew Issue
2012-01-30 13:11EmacsUserStatusnew => confirmed
2014-01-25 14:03grahamNote Added: 0002367
2014-01-25 14:03grahamStatusconfirmed => resolved
2014-01-25 14:03grahamResolutionopen => fixed
2014-01-25 14:03grahamAssigned To => graham
2014-05-07 07:32jmcgrewFixed in Version => 6L02
2014-05-07 07:33jmcgrewStatusresolved => closed

2014-01-25 14:03   
I agree; this behaviour was incorrect. Fixed.