mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fix the "Cancel" button in the concede dialog box leading to an immediate game quit when conceding the match via the "X" button in the title bar.
This commit is contained in:
@@ -207,6 +207,8 @@ public abstract class AbstractGuiGame implements IGuiGame, IMayViewCards {
|
||||
// Concede each player on this Gui (except mind-controlled players)
|
||||
c.concede();
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
if (gameView.isGameOver()) {
|
||||
// Don't immediately close, wait for win/lose screen
|
||||
|
||||
Reference in New Issue
Block a user