From 1b3d93dbaea403ee5f4b59ca8e3f21e9d4f92d3e Mon Sep 17 00:00:00 2001 From: SiHuan Date: Thu, 30 Apr 2020 16:49:23 +0800 Subject: [PATCH] fix pcr --- worker/pcr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/pcr.py b/worker/pcr.py index faf35df..a27fbbd 100644 --- a/worker/pcr.py +++ b/worker/pcr.py @@ -117,7 +117,7 @@ class Ans(StdAns): daoqq = nowdata['dao']['qq'] if daoqq != 0 and daoqq not in nowdata['tree']: return nowdata['all_player'][str(daoqq)]['id'] + '正在出刀,请等待他结算或挂树.' - elif nowplayer['余刀'] + nowdata['加时刀'] < 1: + elif nowplayer['余刀'] + nowplayer['加时刀'] < 1: return '您已无刀可出。' else: nowdata['dao']['qq'] = self.uid