PDA

View Full Version : Alice bug? Loops an event handling method when no loop exists


ghosn
10-21-2009, 11:58 PM
I created a method attached to an Event...Spacebar
Method has NO loop
When I press the Spacebar it loops it twice.
Tried numerous times with a super fast click...no lingering on key and it still looped it twice.
I restarted the computer and tried it and it worked without being looped! :confused:

Is this a bug?

x2495iiii
10-22-2009, 11:17 PM
Yes, there are a few "double-take" bugs that will be there one session of Alice and gone the next. They are usually random and can be gotten rid of by restarting Alice.

ghosn
10-24-2009, 08:48 AM
ok thats good to know...was going crazy trying to figure out what it could be...is there anyway to avoid that? I'm creating a simple game that requires players to take turns...so I cant have one player taking to turns right away...

Possible solution? Use a counter? So if player ones ends up taking 2 turns, its all reversed?