From fa0a0463c5b591146c32a4d1265dbf69da4a18d5 Mon Sep 17 00:00:00 2001 From: Watabou Date: Mon, 28 Jul 2014 14:28:49 +0400 Subject: [PATCH] Update SurfaceScene.java --- src/com/watabou/pixeldungeon/scenes/SurfaceScene.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/watabou/pixeldungeon/scenes/SurfaceScene.java b/src/com/watabou/pixeldungeon/scenes/SurfaceScene.java index d707e4d74..d0ba2a499 100644 --- a/src/com/watabou/pixeldungeon/scenes/SurfaceScene.java +++ b/src/com/watabou/pixeldungeon/scenes/SurfaceScene.java @@ -168,6 +168,8 @@ public class SurfaceScene extends PixelScene { @Override public void destroy() { + Badges.saveGlobal(); + Camera.remove( viewport ); super.destroy(); }