mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'newBranch' into 'master'
Fix CardArtCache,LoadingCache Dispose Textures See merge request core-developers/forge!2805
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