- relocation for player 2 after death
This commit is contained in:
parent
4f73503f89
commit
ea9570d155
1 changed files with 1 additions and 2 deletions
|
@ -257,11 +257,10 @@ public abstract class Level extends Scene {
|
||||||
}
|
}
|
||||||
if(engine.getP2Health() <= 0 && engine.getCredits() > 0) {
|
if(engine.getP2Health() <= 0 && engine.getCredits() > 0) {
|
||||||
engine.revivePlayer(1);
|
engine.revivePlayer(1);
|
||||||
players.get(0).resetPlayer();
|
players.get(1).resetPlayer();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue