summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-30 19:38:49 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-06 07:38:09 (GMT)
commit568e651740a0d08ab0a108bc76738587221be250 (patch)
tree97cd5a6f3ac65434681a5fd5fad55f91c9f74ebd
parent4748fb4496f7e734d3402f0dae9961f7e49641c0 (diff)
Server.claimMahJongg: add missing return after abort()
-rw-r--r--src/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.py b/src/server.py
index 79460cf..758c4ff 100644
--- a/src/server.py
+++ b/src/server.py
@@ -887,6 +887,7 @@ class ServerTable(Table):
msgArgs = player.showConcealedMelds(concealedMelds, withDiscard)
if msgArgs:
self.abort(*msgArgs) # pylint: disable=star-args
+ return
player.declaredMahJongg(
concealedMelds,
withDiscard,