mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fixed freeze on end game
This commit is contained in:
parent
62a40ab459
commit
c2d661eca7
1 changed files with 2 additions and 2 deletions
|
@ -1761,7 +1761,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
synchronized (response) {
|
||||
response.setBoolean(responseBoolean);
|
||||
response.notifyAll();
|
||||
logger.info("Got response boolean from player: " + getId());
|
||||
logger.debug("Got response boolean from player: " + getId());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1787,7 +1787,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
|
||||
@Override
|
||||
public void signalPlayerConcede() {
|
||||
waitResponseOpen();
|
||||
//waitResponseOpen(); //concede is direct event, no need to wait it
|
||||
synchronized (response) {
|
||||
response.setResponseConcedeCheck();
|
||||
response.notifyAll();
|
||||
|
|
Loading…
Reference in a new issue