arminkz/PlantsVsZombies

Pea Class doesn't remove Pea after collision

pickNatchen opened this issue · 0 comments

In the .advance() method of the Pea class, there is a line that is meant to remove the Pea. The line is: gp.getLaneZombies().get(myLane).remove(this);

This should instead be gp.getLanePeas().get(myLane).remove(this);

Currently peas never get removed from the game.