- Disabled restarting matches in quest mode.

This commit is contained in:
Sloth
2011-09-05 20:02:27 +00:00
parent b32bbf33ad
commit 3a87576c3f

View File

@@ -108,7 +108,10 @@ public class Gui_WinLose extends JFrame implements NewConstants {
quitButton.grabFocus(); quitButton.grabFocus();
} }
restartButton.setEnabled(true); restartButton.setEnabled(false);
if (AllZone.getQuestData() == null) {
restartButton.setEnabled(true);
}
//show Wins and Loses //show Wins and Loses
int humanWins = model.match.getGamesCountWonByHuman(); int humanWins = model.match.getGamesCountWonByHuman();