Further adjustment for deletion sequence
This commit is contained in:
parent
e504e317d6
commit
e5107b1a4e
1 changed files with 3 additions and 1 deletions
|
|
@ -410,7 +410,9 @@ class TBBasicTurnHandler(DefaultScript):
|
||||||
Called at script termination.
|
Called at script termination.
|
||||||
"""
|
"""
|
||||||
for fighter in self.db.fighters:
|
for fighter in self.db.fighters:
|
||||||
self.rules.combat_cleanup(fighter) # Clean up the combat attributes for every fighter.
|
if fighter:
|
||||||
|
# Clean up the combat attributes for every fighter.
|
||||||
|
self.rules.combat_cleanup(fighter)
|
||||||
self.obj.db.combat_turnhandler = None # Remove reference to turn handler in location
|
self.obj.db.combat_turnhandler = None # Remove reference to turn handler in location
|
||||||
|
|
||||||
def at_repeat(self):
|
def at_repeat(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue