mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
preload nonAI Decks
This commit is contained in:
@@ -628,7 +628,8 @@ public abstract class LobbyScreen extends LaunchScreen implements ILobbyView {
|
||||
}
|
||||
if (Forge.gameInProgress) {
|
||||
/*preload deck to cache*/
|
||||
ImageCache.preloadCache(decks[i]);
|
||||
if(slot.getType() == LobbySlotType.LOCAL)
|
||||
ImageCache.preloadCache(decks[i]);
|
||||
}
|
||||
Gdx.graphics.requestRendering();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user