Unload assets with asset manager instead of disposing them

This commit is contained in:
Matt Low 2018-11-22 23:06:47 +04:00
parent 88833ae206
commit 39ad9eb4b8

View File

@ -24,7 +24,7 @@ public abstract class FieldState extends State {
@Override
public void dispose() {
super.dispose();
textures.dispose();
game.assets.unload("textures.atlas");
}
}