mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
update
This commit is contained in:
@@ -74,7 +74,7 @@ public class RewardActor extends Actor implements Disposable, ImageFetcher.Callb
|
|||||||
boolean loaded = true;
|
boolean loaded = true;
|
||||||
boolean alternate = false, shown = false;
|
boolean alternate = false, shown = false;
|
||||||
|
|
||||||
public static int renderedCount = 0; //Counter for cards that require rendering a preview.
|
public int renderedCount = 0; //Counter for cards that require rendering a preview.
|
||||||
static final ImageFetcher fetcher = GuiBase.getInterface().getImageFetcher();
|
static final ImageFetcher fetcher = GuiBase.getInterface().getImageFetcher();
|
||||||
RewardImage toolTipImage;
|
RewardImage toolTipImage;
|
||||||
String description = "";
|
String description = "";
|
||||||
@@ -653,7 +653,7 @@ public class RewardActor extends Actor implements Disposable, ImageFetcher.Callb
|
|||||||
drawCard(batch, image, x, width);
|
drawCard(batch, image, x, width);
|
||||||
} else if (!loaded) {
|
} else if (!loaded) {
|
||||||
if (T == null)
|
if (T == null)
|
||||||
T = renderPlaceholder(getGraphics(), reward.getCard(), false);
|
T = renderPlaceholder(new Graphics(), reward.getCard(), false);
|
||||||
drawCard(batch, T, x, width);
|
drawCard(batch, T, x, width);
|
||||||
}
|
}
|
||||||
} else if (image != null) {
|
} else if (image != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user