Hotfix for stuff

This commit is contained in:
2026-01-07 17:16:45 +01:00
parent c64a2e2c65
commit 65220d9649
2 changed files with 11 additions and 7 deletions

View File

@@ -47,9 +47,11 @@ public abstract class BitboardGame implements TurnBasedGame {
this.playerBitboard = other.playerBitboard.clone();
this.currentTurn = other.currentTurn;
this.players = Arrays.stream(other.players)
.map(Player::deepCopy)
.toArray(Player[]::new);
this.players = other.players;
// TODO: Players are not deep copied, which is bad. I don't know why but deepcopying breaks it. Fix it
//this.players = Arrays.stream(other.players)
// .map(Player::deepCopy)
// .toArray(Player[]::new);
}
public int getColumnSize() {