I am using
Code: Select all
subscribeEvent(
CEGUI::PushButton::EventClicked,CEGUI::Event::Subscriber(
&CLoginState::handleSkipLogin,this));
Each time I go from the first page to the second, this event is being fired way too many times.
It goes some like this:
# of clicks vs. # of times handleSkipLogin() is called
1 | 1
4 | 20
5 | 50
6 | 130
7 | 330+
At this point it takes a few seconds until the second screen pops up. I've got no idea whats going on .