build correct

This commit is contained in:
Johannes Schmelz 2024-12-10 14:12:28 +01:00
parent 40c550cc4d
commit eb54fb1d14

View File

@ -327,6 +327,11 @@ public class ClientGameLogic implements ServerInterpreter, GameEventBroker {
board.add(new Hotel(property.getId())); board.add(new Hotel(property.getId()));
} else { } else {
for(int i = 0; i < 4; i++) {
board.remove(board.getHouse(msg.getId(), i+1));
}
board.add(new House( property.getHouses(), property.getId())); board.add(new House( property.getHouses(), property.getId()));
} }
} else { } else {