mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix CardArtCache,LoadingCache Dispose Textures
This commit is contained in:
@@ -45,7 +45,12 @@ public class ConquestRegion {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void clearArt() {
|
||||
art = null;
|
||||
}
|
||||
|
||||
public ISkinImage getArt() {
|
||||
clearArt(); //force clear this so it will be redrawn since loadingcache invalidates the cache every screen change
|
||||
if (art == null) {
|
||||
PaperCard pc = cardPool.getCard(artCardName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user