mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Game: fixed empty range error on game startup
This commit is contained in:
parent
18687fe197
commit
d41ccd11bc
2 changed files with 6 additions and 0 deletions
|
|
@ -495,6 +495,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
public void updateRange(Game game) {
|
||||
// 20100423 - 801.2c
|
||||
// 801.2c The particular players within each player’s range of influence are determined as each turn begins.
|
||||
// BUT it also uses before game start to fill game and card data in starting game events
|
||||
inRange.clear();
|
||||
inRange.add(this.playerId);
|
||||
inRange.addAll(getAllNearPlayers(game, true));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue