mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- A more correct fix for color identity update. This fix also fixes Morph/Manifest cards leaking color to the "current card colors" display in card detail panel.
This commit is contained in:
@@ -293,8 +293,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
getGame().getTriggerHandler().runTrigger(TriggerType.Transformed, runParams, false);
|
getGame().getTriggerHandler().runTrigger(TriggerType.Transformed, runParams, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
currentState.getView().updateColors(this);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -350,6 +348,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
|
|
||||||
if (updateView) {
|
if (updateView) {
|
||||||
view.updateState(this);
|
view.updateState(this);
|
||||||
|
currentState.getView().updateColors(this);
|
||||||
|
|
||||||
final Game game = getGame();
|
final Game game = getGame();
|
||||||
if (game != null) {
|
if (game != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user