summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-16 15:46:49 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-16 15:46:49 +0200
commitcb89c0ecf3967c6787016157322a507662f0d652 (patch)
tree3d471cc3c62f44d7c6bfde1205687019ccd865e2 /core/src/ch/asynk/tankontank/screens
parentc1ea73e9ad9cc371991189ad7ce5e96264b573c7 (diff)
downloadRustAndDust-cb89c0ecf3967c6787016157322a507662f0d652.zip
RustAndDust-cb89c0ecf3967c6787016157322a507662f0d652.tar.gz
TankOnTank,GameScreen: clean up dispose calls
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java
index b778e78..b8ba533 100644
--- a/core/src/ch/asynk/tankontank/screens/GameScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java
@@ -232,11 +232,10 @@ public class GameScreen implements Screen
public void dispose()
{
// Gdx.app.debug("GameScreen", "dispose()");
- game.unloadAssets();
mapBatch.dispose();
hudBatch.dispose();
- if (DEBUG) debugShapes.dispose();
ctrl.dispose();
+ if (DEBUG) debugShapes.dispose();
}
@Override