I'm working on a Tower Defense game and my code to create the objects (red zombie) works fine unless I've destroyed all of the red zombie or green zombie objects.
Then it mysteriously doesn't allow me to create any new ones.
(Press 1 to spawn zombie at mouse point. Must be behind counter and they take 20 currency)
The spawning code on very bottom. It has no requirement for Green Zombies to be alive to spawn Red Zombies, does not make sense.