* Redesigned idle timeout handling to prevent selecting wrong player for timeout.

This commit is contained in:
LevelX2 2014-12-27 17:31:52 +01:00
parent fba13b26ac
commit dd8a11ba5c
7 changed files with 86 additions and 88 deletions

View file

@ -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) {