Update tb_basic.py

Fixing issue with at_pre_move not having the updated arguments for 1.0
This commit is contained in:
Antrare 2023-03-09 12:20:38 +11:00 committed by GitHub
parent f66db3344d
commit 12efd183f1

View file

@ -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.