Skip to content

Commit

Permalink
Update SurfaceScene.java
Browse files Browse the repository at this point in the history
  • Loading branch information
watabou committed Jul 28, 2014
1 parent cbb16c0 commit fa0a046
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/watabou/pixeldungeon/scenes/SurfaceScene.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ protected void onClick() {

@Override
public void destroy() {
Badges.saveGlobal();

Camera.remove( viewport );
super.destroy();
}
Expand Down

0 comments on commit fa0a046

Please sign in to comment.