mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 15:19:35 +01:00
Fikser en bug der programmet til en spiller blir nullstilt og det ikke skal det
This commit is contained in:
parent
85100496bf
commit
6c7ff8ac8b
@ -110,8 +110,8 @@ class RoboRallyClientListener extends Listener {
|
||||
}
|
||||
}
|
||||
if (newHand.isEmpty()) {
|
||||
wrapper.getGame().setProgram(new ArrayList<>());
|
||||
if (wrapper.getGame().getRobotPowerDown()) {
|
||||
wrapper.getGame().setProgram(new ArrayList<>());
|
||||
wrapper.getGame().setGameState(GameState.SKIP_POWER_DOWN_SCREEN);
|
||||
} else {
|
||||
wrapper.getGame().setGameState(GameState.CHOOSING_CARDS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user