mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
update comment
This commit is contained in:
@@ -56,6 +56,7 @@ public class RewardScene extends UIScene {
|
|||||||
A.remove();
|
A.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//save RAM
|
||||||
ImageCache.unloadCardTextures(true);
|
ImageCache.unloadCardTextures(true);
|
||||||
Forge.switchToLast();
|
Forge.switchToLast();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ public class ImageCache {
|
|||||||
return;
|
return;
|
||||||
//get latest images from syncQ
|
//get latest images from syncQ
|
||||||
Set<String> newQ = Sets.newHashSet(syncQ);
|
Set<String> newQ = Sets.newHashSet(syncQ);
|
||||||
//get removeAll images not in newQ (cardLists to unload)
|
//get all images not in newQ (cards to unload)
|
||||||
Set<String> toUnload = Sets.difference(cardsLoaded, newQ);
|
Set<String> toUnload = Sets.difference(cardsLoaded, newQ);
|
||||||
//unload from assetmanager to save RAM
|
//unload from assetmanager to save RAM
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user