mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
update comment
This commit is contained in:
@@ -56,6 +56,7 @@ public class RewardScene extends UIScene {
|
||||
A.remove();
|
||||
}
|
||||
}
|
||||
//save RAM
|
||||
ImageCache.unloadCardTextures(true);
|
||||
Forge.switchToLast();
|
||||
}
|
||||
|
||||
@@ -337,7 +337,7 @@ public class ImageCache {
|
||||
return;
|
||||
//get latest images from 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);
|
||||
//unload from assetmanager to save RAM
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user