mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Resolves issue 155. Cleaned up the copy functionality and a few minor bugs at the same time. Copying an active character is somewhat confusing though (and deleting a character will currently make the player unable to log back in).
This commit is contained in:
parent
4519169e1c
commit
695317e699
8 changed files with 82 additions and 33 deletions
|
|
@ -748,12 +748,8 @@ class ObjectDB(TypedObject):
|
|||
# See if we need to kick the player off.
|
||||
for session in self.sessions:
|
||||
session.msg("Your character %s has been destroyed. Goodbye." % self.name)
|
||||
session.handle_close()
|
||||
|
||||
# # If the object is a player, set the player account
|
||||
# # object to inactive. We generally avoid deleting a
|
||||
# # player completely in case it messes with things
|
||||
# # like sent-message memory etc in some games.
|
||||
session.session_disconnect()
|
||||
|
||||
# if self.player:
|
||||
# self.player.user.is_active = False
|
||||
# self.player.user.save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue