solarus-games / solarus-alttp-pack

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus-alttp-pack
35 stars 15 forks source link

Bug: Choices list not updated correctly in question dialogs #6

Closed Diarandor closed 7 years ago

Diarandor commented 7 years ago

The original issue is here: https://github.com/solarus-games/solarus/issues/1016

There is a problem with the dialog box script: The "choices" list not updated correctly in question dialogs when a question is started after another question. See more in the forum: http://forum.solarus-games.org/index.php/topic,859.0.html

Adding the line "self.choices = {}" inside "function dialog_box:show_next_dialog()" seems to fix this bug, but I am not sure if more changes will be necessary.

If this script is used in other games of the team, we should fix this there too.