浏览代码

Merge branch 'master' of /srv/git/pyRot

root 7 年之前
父节点
当前提交
2d6e2a5989
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      irc/commands/games.py

+ 1 - 1
irc/commands/games.py

@@ -234,7 +234,7 @@ def do_command(self, connection, event):
             elif receivingrecord[1] == True:
                 connection.privmsg(replyto, red + trigger.split()[1] + reset + "is not here right now.")
                 return
-            elif apspent >= xp:
+            elif apspent >= totalxp:
                 connection.privmsg(replyto, "You have no action points, go use IRC some more...")
                 return
             if len(command.split()) == 2: