Player answering at an incorrect screen is now handled.

This commit is contained in:
marcins78@gmail.com
2013-01-20 02:50:07 +00:00
parent 513dad51f1
commit 536976f00f

View File

@@ -82,10 +82,10 @@ public class GameRequestHandler extends LotroServerRequestHandler implements Uri
gameMediator.setPlayerAutoPassSettings(resourceOwner.getName(), getAutoPassPhases(request));
if (decisionId != null)
gameMediator.playerAnswered(resourceOwner, channelNumber, decisionId, decisionValue);
try {
if (decisionId != null)
gameMediator.playerAnswered(resourceOwner, channelNumber, decisionId, decisionValue);
GameCommunicationChannel pollableResource = gameMediator.getCommunicationChannel(resourceOwner, channelNumber);
GameUpdateLongPollingResource pollingResource = new GameUpdateLongPollingResource(pollableResource, channelNumber, gameMediator, resourceOwner, responseWriter);
_longPollingSystem.processLongPollingResource(pollingResource, pollableResource);