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:
Tharic99 2025-07-10 19:16:23 -04:00 committed by GitHub
parent 0bc77106fa
commit 53ad88e095
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -595,7 +595,7 @@ class CmdFight(Command):
return
here.msg_contents("%s starts a fight!" % self.caller)
# 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):