Page 1 of 1

"Back" function and menu choices

Posted: Fri Jan 10, 2020 6:00 am
by Razka
I've been testing my game for a while, and I found out that you can apparently use "Back" after you make a choice, and that basically breaks the whole game.
For example, if you've got a menu with 2 affection events. You're supposed to just select 1, and I've got some code to check it (basically this: viewtopic.php?p=523263#p523263), but if you go back all the way to the menu after you get the "+ Affection" you can actually select both.

Is there any known way to prevent this?

Re: "Back" function and menu choices

Posted: Fri Jan 10, 2020 6:05 am
by gas
define config.fix_rollback_without_choice = True

Re: "Back" function and menu choices

Posted: Fri Jan 17, 2020 7:37 am
by Razka
That didn't work at all for me, it just removed the selected attribute from the menus.
But on the plus side I used that bit to discover all the related functions and I managed to solve it anyway, so thanks!