From 53ad88e095433f896bdad0b11b3b7695da60c8fb Mon Sep 17 00:00:00 2001 From: Tharic99 <39832147+Tharic99@users.noreply.github.com> Date: Thu, 10 Jul 2025 19:16:23 -0400 Subject: [PATCH] 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. --- evennia/contrib/game_systems/turnbattle/tb_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/game_systems/turnbattle/tb_basic.py b/evennia/contrib/game_systems/turnbattle/tb_basic.py index fde8b453e6..2503fc75ff 100644 --- a/evennia/contrib/game_systems/turnbattle/tb_basic.py +++ b/evennia/contrib/game_systems/turnbattle/tb_basic.py @@ -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):