Skip to content

Commit ed090c3

Browse files
committed
Multiplayer disabled
Multiplayer has been disabled due to bugs and unwanted results. Will be disabled until further notice
1 parent 4a0abea commit ed090c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/com/redomar/game/menu/Menu.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,11 @@ public static void play() {
188188
splash.setProgress(92, "Aquring data: Multiplayer");
189189
Thread.sleep(125);
190190
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
191-
Game.setJdata_Host(JOptionPane.showConfirmDialog(Game.getGame(),
192-
"Do you want to be the HOST?"));
193-
if (Game.getJdata_Host() == 1) {
191+
String multiMsg = "Sorry but multiplayer has been disabled on this version.\nIf you would like multiplayer checkout Alpha 1.6";
192+
JOptionPane.showMessageDialog(Game.getGame(), multiMsg, "Multiplayer Warning", JOptionPane.WARNING_MESSAGE);
193+
//Game.setJdata_Host(JOptionPane.showConfirmDialog(Game.getGame(), "Do you want to be the HOST?"));
194+
Game.setJdata_Host(1);
195+
if (Game.getJdata_Host() != 1) { //Game.getJdata_Host() == 1
194196
Game.setJdata_IP(JOptionPane.showInputDialog(Game.getGame(),
195197
"Enter the name \nleave blank for local"));
196198
}

0 commit comments

Comments
 (0)