mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
Resolves #2465, as per suggesion of @GulliblePsychologist
This commit is contained in:
parent
b371391e91
commit
250e6612f0
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