mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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.
|
||||
"""
|
||||
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
|
||||
|
||||
def at_repeat(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue