I'm working on a game in which the player has to click blocks to earn points.
If he clicks the block it flashes for 1 second after which it is destroyed.
However, I've noticed that if he clicks on the block again before it is destroyed, he earns point again.
That should not be the case: the game shouldn't end too soon...
How can I make the block 'freeze' or something so that it can't be clicked anymore?
Thanks in advance!