From b72fc8f1ca88152fa3a942cb8b6a8f2e512ca45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Fri, 13 May 2016 21:09:45 +0200 Subject: [PATCH] fixed a bug regarding panels when starting a new game --- cicaprojekt/ApplicationFrame.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cicaprojekt/ApplicationFrame.java b/cicaprojekt/ApplicationFrame.java index 3ca48de..1ee98bb 100644 --- a/cicaprojekt/ApplicationFrame.java +++ b/cicaprojekt/ApplicationFrame.java @@ -48,6 +48,7 @@ public class ApplicationFrame implements Runnable public void backToMapSelection() { jframe.remove(gamepanel); initMapselector(); + jframe.remove(mapselectorpanel); jframe.add(mapselectorpanel); jframe.revalidate(); }