preload nonAI Decks

This commit is contained in:
Anthony Calosa
2020-10-23 17:54:36 +08:00
parent 04be4ce993
commit e82ae6f507

View File

@@ -628,6 +628,7 @@ public abstract class LobbyScreen extends LaunchScreen implements ILobbyView {
} }
if (Forge.gameInProgress) { if (Forge.gameInProgress) {
/*preload deck to cache*/ /*preload deck to cache*/
if(slot.getType() == LobbySlotType.LOCAL)
ImageCache.preloadCache(decks[i]); ImageCache.preloadCache(decks[i]);
} }
Gdx.graphics.requestRendering(); Gdx.graphics.requestRendering();