mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 14:26:30 +01:00
Gah, one of these days I'll remember to completely fix both sides of things. No longer showing object's dbref on disconnect either.
This commit is contained in:
parent
9e5c297faa
commit
f6311dd41e
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class PlayerSession(async_chat):
|
|||
pobject = self.get_pobject()
|
||||
if pobject:
|
||||
pobject.set_flag("CONNECTED", False)
|
||||
pobject.get_location().emit_to_contents("%s has disconnected." % (pobject.get_name(),), exclude=pobject)
|
||||
pobject.get_location().emit_to_contents("%s has disconnected." % (pobject.get_name(show_dbref=False),), exclude=pobject)
|
||||
|
||||
async_chat.handle_close(self)
|
||||
self.logged_in = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue