Page 1 of 1

[0.10.9][kovarex] game remembers button pressed after load

Posted: Wed Sep 10, 2014 7:10 pm
by jeroon
I've made a GUI with a button, and as usual made some typos, so I get an error popup and the game closes to menu. I load the game again, and the old error message is there again, without me pushing the button. It looks like the game still has the button pressed event triggered.

Simple workaround: restart the game and all will be fine. Still, looks like a bug to me :)

A small test mod to demonstrate: https://www.dropbox.com/s/wd5j2b8zn5c0a ... g.zip?dl=0

- start a game
- click the button, you will get an error, click ok
- start a new game, the error will still be there/be there again, without pushing the button

Re: [0.10.9][kovarex] game remembers button pressed after lo

Posted: Thu Sep 11, 2014 9:07 am
by kovarex
Oh, thanks for the report, that is a quite nice bug indeed :)

The user event queue wasn't cleared when the error occurred, it is fixed for 0.10.10 now.