holgerm / Old_GeoQuest-Client-Android

Android native player for GeoQuest
0 stars 0 forks source link

Only one action that leaves the mission can be called #147

Open qeevee opened 10 years ago

qeevee commented 10 years ago

As soon as a mission executes an action that is mission leaving, no further actions from this mission are executed.

E.g. you specify a StartMission action in onFail of a Question. Further actions in the onFail sequence after that are ignored. Equally ignored are actions specified in onEnd (which normally are executed after all onFail actions).

Currently this is not the case and all actions are executed. That might easily lead to mistakes and evens NPEs.