tBKwtWS пре 7 година
родитељ
комит
4315b6396b
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: