- relocation for player 2 after death

This commit is contained in:
Matan 2016-03-20 18:42:06 +02:00
parent 4f73503f89
commit ea9570d155

View file

@ -257,11 +257,10 @@ public abstract class Level extends Scene {
}
if(engine.getP2Health() <= 0 && engine.getCredits() > 0) {
engine.revivePlayer(1);
players.get(0).resetPlayer();
players.get(1).resetPlayer();
}
}
}
}