Commit 1b0cfe70 authored by Thomas Dupriez's avatar Thomas Dupriez

Removed a line that had no reason to be in GameOverPanel

parent aab780e4
...@@ -26,8 +26,6 @@ public class GameOverPanel extends MenuPanel { ...@@ -26,8 +26,6 @@ public class GameOverPanel extends MenuPanel {
setTitlePanel("Game Over"); setTitlePanel("Game Over");
addToCentralColumn(sorryLabel,1,1); addToCentralColumn(sorryLabel,1,1);
addToCentralColumn(ButtonMaker.makeButton("Return to main menu", returnButtonActionListener),1,1); addToCentralColumn(ButtonMaker.makeButton("Return to main menu", returnButtonActionListener),1,1);
GraphicsMasterAbstraction.getInstance().changeGUIStateTo(GraphicsMasterAbstraction.GUIStates.GAME_OVER);
} }
private ActionListener returnButtonActionListener = new ActionListener() { private ActionListener returnButtonActionListener = new ActionListener() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment