diff --git a/forge-gui-mobile/src/forge/screens/match/winlose/ControlWinLose.java b/forge-gui-mobile/src/forge/screens/match/winlose/ControlWinLose.java index 256e7edd1dd..400ef7497be 100644 --- a/forge-gui-mobile/src/forge/screens/match/winlose/ControlWinLose.java +++ b/forge-gui-mobile/src/forge/screens/match/winlose/ControlWinLose.java @@ -54,6 +54,8 @@ public class ControlWinLose { view.getBtnQuit().setEnabled(false); } }); + if(humancount == 0) + view.getBtnRestart().setEnabled(false); } /** Action performed when "continue" button is pressed in default win/lose UI. */ diff --git a/forge-gui/src/main/java/forge/match/HostedMatch.java b/forge-gui/src/main/java/forge/match/HostedMatch.java index bce3bdd6206..d68678494b1 100644 --- a/forge-gui/src/main/java/forge/match/HostedMatch.java +++ b/forge-gui/src/main/java/forge/match/HostedMatch.java @@ -305,7 +305,9 @@ public class HostedMatch { humanController.getGui().clearAutoYields(); } - if (!GuiBase.getInterface().isLibgdxPort()||!isMatchOver) + if (humanCount > 0) //conceded + humanController.getGui().afterGameEnd(); + else if (!GuiBase.getInterface().isLibgdxPort()||!isMatchOver) humanController.getGui().afterGameEnd(); } humanControllers.clear();