fixed a bug regarding panels when starting a new game
This commit is contained in:
parent
37fa657720
commit
b72fc8f1ca
@ -48,6 +48,7 @@ public class ApplicationFrame implements Runnable
|
|||||||
public void backToMapSelection() {
|
public void backToMapSelection() {
|
||||||
jframe.remove(gamepanel);
|
jframe.remove(gamepanel);
|
||||||
initMapselector();
|
initMapselector();
|
||||||
|
jframe.remove(mapselectorpanel);
|
||||||
jframe.add(mapselectorpanel);
|
jframe.add(mapselectorpanel);
|
||||||
jframe.revalidate();
|
jframe.revalidate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user