forked from External/mage
* Redesigned idle timeout handling to prevent selecting wrong player for timeout.
This commit is contained in:
parent
fba13b26ac
commit
dd8a11ba5c
7 changed files with 86 additions and 88 deletions
|
|
@ -163,13 +163,6 @@ public class GameManager {
|
|||
return false;
|
||||
}
|
||||
|
||||
public void timeout(UUID gameId, UUID userId) {
|
||||
GameController gameController = gameControllers.get(gameId);
|
||||
if (gameController != null) {
|
||||
gameController.timeout(userId);
|
||||
}
|
||||
}
|
||||
|
||||
public void removeGame(UUID gameId) {
|
||||
GameController gameController = gameControllers.get(gameId);
|
||||
if (gameController != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue