From 80d35812b4f320a9c5de7421609a612203f5db49 Mon Sep 17 00:00:00 2001 From: Leon Montag Date: Fri, 30 Dec 2022 20:53:01 +0100 Subject: [PATCH] refactoring: call startGame --- src/main/java/Gui/StartGameGui.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/Gui/StartGameGui.java b/src/main/java/Gui/StartGameGui.java index c52897c..fc7ab67 100644 --- a/src/main/java/Gui/StartGameGui.java +++ b/src/main/java/Gui/StartGameGui.java @@ -11,6 +11,7 @@ public class StartGameGui implements ActionListener { @Override public void actionPerformed(ActionEvent e) { gui.Panel.setVisible(false); + startGame(); } public void startGame() { GameGui Gui = new GameGui();