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,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();
}