remove the reset method from mainmenu

This commit is contained in:
yugecin
2017-01-18 22:50:18 +01:00
parent 06a5deb3a1
commit e9046ed65e
3 changed files with 8 additions and 34 deletions

View File

@@ -941,7 +941,6 @@ public class SongMenu extends BaseOpsuState {
if (UI.getBackButton().contains(x, y)) {
SoundController.playSound(SoundEffect.MENUBACK);
instanceContainer.provide(MainMenu.class).reset(); // TODO d why is this needed
displayContainer.switchState(MainMenu.class);
return true;
}
@@ -1091,7 +1090,6 @@ public class SongMenu extends BaseOpsuState {
} else*/ {
// return to main menu
SoundController.playSound(SoundEffect.MENUBACK);
instanceContainer.provide(MainMenu.class).reset(); // TODO d is this needed
displayContainer.switchState(MainMenu.class);
}
return true;