In my program, the computer will spawn units after the player spawns units. The computer spawns units one at a time, similar to the player. This aspect of the game is working well.
I want to have the spawn area the computer is focused on to highlight. Right now, every spawn area the computer can spawn a unit on will be highlighted during computer spawning as opposed to one at a time (run the game to see what I mean).
Here is the relevant code:
<img src="http://i.imgur.com/wq4qyHB.png" border="0">
Any help or ideas would be appreciated.