1. Arne Babenhauserheide
  2. TextRPG

Commits

Arne Babenhauserheide  committed 67fe283

FIX: Story.give_exp didn't take *args and **kwds.

  • Participants
  • Parent commits 6474513
  • Branches default

Comments (0)

Files changed (1)

File rpg_lib/anyrpg.py

View file
             for i in chars:
                     i.save()
     
-    def give_exp(self, char, amount=0): 
+    def give_exp(self, char, amount=0, *args, **kwds): 
         """Give experience to only one char."""
         for i in self.get_experience([char], amount=amount).splitlines(): 
             self.diag(i)