Skip to content

Commit

Permalink
Fixed bug: Physics where still applied when dying by a Goomba.
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanfrans committed Jul 29, 2014
1 parent 269d0f9 commit 9b4f265
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/nl/arjanfrans/mario/model/World.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ private void reset() {
generateFlag((MapLayer) map.getLayers().get("objects"));

stage.addActor(player);
String song = (String) map.getLayers().get("background").getObjects().get("background_image")
.getProperties().get("audio");
String song = (String) map.getLayers().get("background").getObjects().get("background_image").getProperties().get("audio");
Audio.stopSong();
Audio.playSong(song, true);
wr = new WorldRenderer(this);
Expand Down

0 comments on commit 9b4f265

Please sign in to comment.