Unload assets with asset manager instead of disposing them
This commit is contained in:
parent
88833ae206
commit
39ad9eb4b8
@ -24,7 +24,7 @@ public abstract class FieldState extends State {
|
||||
@Override
|
||||
public void dispose() {
|
||||
super.dispose();
|
||||
textures.dispose();
|
||||
game.assets.unload("textures.atlas");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user