From 1dc876f0009db3a2dbca91666eeb33fc4e0292a8 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Tue, 20 Sep 2011 00:56:44 +0000 Subject: [PATCH] fixing losing game... --- .../com/gempukku/lotro/game/LotroGameMediator.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/game/LotroGameMediator.java b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/game/LotroGameMediator.java index 779c82fe3..66e047d11 100644 --- a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/game/LotroGameMediator.java +++ b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/game/LotroGameMediator.java @@ -128,12 +128,12 @@ public class LotroGameMediator { if (currentTime > decisionSent + _playerDecisionTimeoutPeriod) _lotroGame.playerLost(playerId, "Player decision timed-out"); } - } - for (Map.Entry playerClock : _playerClocks.entrySet()) { - String player = playerClock.getKey(); - if (_maxSecondsForGamePerPlayer - playerClock.getValue() - getCurrentUserPendingTime(player) < 0) - _lotroGame.playerLost(player, "Player run out of time"); + for (Map.Entry playerClock : _playerClocks.entrySet()) { + String player = playerClock.getKey(); + if (_maxSecondsForGamePerPlayer - playerClock.getValue() - getCurrentUserPendingTime(player) < 0) + _lotroGame.playerLost(player, "Player run out of time"); + } } } finally { _writeLock.unlock();