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
|
@Override
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
super.dispose();
|
super.dispose();
|
||||||
textures.dispose();
|
game.assets.unload("textures.atlas");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user