mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-13 01:08:06 +00:00
Use playerMap for starting player.
This commit is contained in:
@@ -235,7 +235,7 @@ public class GameCopier {
|
|||||||
// TODO countersAddedThisTurn
|
// TODO countersAddedThisTurn
|
||||||
|
|
||||||
if (origGame.getStartingPlayer() != null) {
|
if (origGame.getStartingPlayer() != null) {
|
||||||
newGame.setStartingPlayer(origGame.getStartingPlayer());
|
newGame.setStartingPlayer(playerMap.get(origGame.getStartingPlayer()));
|
||||||
}
|
}
|
||||||
if (origGame.getMonarch() != null) {
|
if (origGame.getMonarch() != null) {
|
||||||
newGame.setMonarch(playerMap.get(origGame.getMonarch()));
|
newGame.setMonarch(playerMap.get(origGame.getMonarch()));
|
||||||
|
|||||||
Reference in New Issue
Block a user