mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
update Assets
- load bitmapfonts to assetmanager - load adventure skinfile to assetmanager - update ondestroy on android to dispose assets - fix confirmpayment on mobile not displaying card images on hidden zone (ie shocklands that were put into play from library to battlefield) - increase pagesize for CJK Fonts
This commit is contained in:
@@ -259,6 +259,13 @@ public class Main extends AndroidApplication {
|
||||
|
||||
/*@Override
|
||||
protected void onDestroy() {
|
||||
try {
|
||||
final Forge forge = (Forge) Gdx.app.getApplicationListener();
|
||||
if (forge != null)
|
||||
forge.dispose();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
super.onDestroy();
|
||||
|
||||
//ensure app doesn't stick around
|
||||
|
||||
Reference in New Issue
Block a user