Update tb_basic.py to resolve type in scripts caller
Original scripts.add was (self.command_handler_class), which does not exist. It should be (self.combat_handler_class) This fix updates that only.
This commit is contained in:
parent
0bc77106fa
commit
53ad88e095
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ class CmdFight(Command):
|
||||||
return
|
return
|
||||||
here.msg_contents("%s starts a fight!" % self.caller)
|
here.msg_contents("%s starts a fight!" % self.caller)
|
||||||
# Add a turn handler script to the room, which starts combat.
|
# Add a turn handler script to the room, which starts combat.
|
||||||
here.scripts.add(self.command_handler_class)
|
here.scripts.add(self.combat_handler_class)
|
||||||
|
|
||||||
|
|
||||||
class CmdAttack(Command):
|
class CmdAttack(Command):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue