From 12efd183f19ec9c4dfa86b572187fe5fbe10fd71 Mon Sep 17 00:00:00 2001 From: Antrare Date: Thu, 9 Mar 2023 12:20:38 +1100 Subject: [PATCH] Update tb_basic.py Fixing issue with at_pre_move not having the updated arguments for 1.0 --- 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 3b6d0a5075..6757f6b852 100644 --- a/evennia/contrib/game_systems/turnbattle/tb_basic.py +++ b/evennia/contrib/game_systems/turnbattle/tb_basic.py @@ -323,7 +323,7 @@ class TBBasicCharacter(DefaultCharacter): can be changed at creation and factor into combat calculations. """ - def at_pre_move(self, destination): + def at_pre_move(self, destination, move_type='move', **kwargs): """ Called just before starting to move this object to destination.