mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 15:37:17 +02:00
Resolves #2465, as per suggesion of @GulliblePsychologist
This commit is contained in:
parent
6e94d16ac2
commit
40a5abe204
1 changed files with 4 additions and 3 deletions
|
|
@ -1775,9 +1775,10 @@ class DefaultGuest(DefaultAccount):
|
|||
"""
|
||||
super().at_server_shutdown()
|
||||
characters = self.db._playable_characters
|
||||
for character in characters:
|
||||
if character:
|
||||
character.delete()
|
||||
if characters:
|
||||
for character in characters:
|
||||
if character:
|
||||
character.delete()
|
||||
|
||||
def at_post_disconnect(self, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue