mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge pull request #2967 from tool4ever/lkifix2
LKI fix for facedown copiable type
This commit is contained in:
@@ -203,6 +203,7 @@ 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()) {
|
||||||
newCopy.turnFaceDownNoUpdate();
|
newCopy.turnFaceDownNoUpdate();
|
||||||
|
newCopy.setType(new CardType(in.getType()));
|
||||||
// prevent StackDescription from revealing face
|
// prevent StackDescription from revealing face
|
||||||
newCopy.updateStateForView();
|
newCopy.updateStateForView();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user