mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fix facedown reveal
This commit is contained in:
@@ -221,9 +221,9 @@ public final class CardUtil {
|
|||||||
|
|
||||||
newCopy.getCurrentState().copyFrom(in.getState(in.getFaceupCardStateName()), true);
|
newCopy.getCurrentState().copyFrom(in.getState(in.getFaceupCardStateName()), true);
|
||||||
if (in.isFaceDown()) {
|
if (in.isFaceDown()) {
|
||||||
// prevent StackDescription from revealing face
|
|
||||||
newCopy.setName(in.toString());
|
|
||||||
newCopy.turnFaceDownNoUpdate();
|
newCopy.turnFaceDownNoUpdate();
|
||||||
|
// prevent StackDescription from revealing face
|
||||||
|
newCopy.updateStateForView();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in.isAdventureCard() && in.getFaceupCardStateName().equals(CardStateName.Original)) {
|
if (in.isAdventureCard() && in.getFaceupCardStateName().equals(CardStateName.Original)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user