mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
* Fixed Rollback UI bug with ManaPool's autoPayment and autoPaymentRestricted (fixes #5002).
This commit is contained in:
parent
23087e6c23
commit
e4ae2f3fec
1 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,10 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
this.maxHandSize = player.getMaxHandSize();
|
||||
this.maxAttackedBy = player.getMaxAttackedBy();
|
||||
this.manaPool = player.getManaPool().copy();
|
||||
// Restore user specific settings in case changed since state save
|
||||
this.manaPool.setAutoPayment(this.getUserData().isManaPoolAutomatic());
|
||||
this.manaPool.setAutoPaymentRestricted(this.getUserData().isManaPoolAutomaticRestricted());
|
||||
|
||||
this.turns = player.getTurns();
|
||||
|
||||
this.range = player.getRange();
|
||||
|
|
Loading…
Reference in a new issue