Skip to content
Snippets Groups Projects
Commit 24af7d2c authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #50

parent 3c0fa62d
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ public class ExtraLifePowerUp extends PowerUp
@Override
public void activate(LevelController levelController, Game game)
{
if(game.getLivesRemaining() - 1 < game.getMaxLives())
if(game.getLivesRemaining() - 1 < game.getMaxLives() - 1)
{
game.setLivesRemaining(game.getLivesRemaining() + 1);
levelController.refreshLiveCounter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment