Update controls

This commit is contained in:
Anthony Calosa
2020-04-26 18:37:10 +08:00
parent a553103e39
commit e7cbee211d
2 changed files with 5 additions and 1 deletions

View File

@@ -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();