mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Re-using default ImageKeyFromSet from PaperCard instance
(This sort of things should be looked for, and optimised!)
This commit is contained in:
@@ -184,7 +184,7 @@ public class ImageCache {
|
||||
if (useArtCrop) {
|
||||
if (ipc != null && ipc.getRules().getSplitType() == CardSplitType.Flip) {
|
||||
// Art crop will always use front face as image key for flip cards
|
||||
imageKey = ImageUtil.getImageKey((PaperCard) ipc, false, true);
|
||||
imageKey = ((PaperCard) ipc).getImageKeyFromSet(); // ImageUtil.getImageKey((PaperCard) ipc, false, true);
|
||||
}
|
||||
imageKey = TextUtil.fastReplace(imageKey, ".full", ".artcrop");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user