Fixed reproduction of units

Fixed not resetting count for how many units to spawn for each player.