mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Make examine represent Session id's in a less confusing way, as exemplified by #1075.
This commit is contained in:
parent
a467d2984e
commit
d32e7a8282
1 changed files with 2 additions and 2 deletions
|
|
@ -1901,8 +1901,8 @@ class CmdExamine(ObjManipCommand):
|
|||
string = "\n|wName/key|n: |c%s|n (%s)" % (obj.name, obj.dbref)
|
||||
if hasattr(obj, "aliases") and obj.aliases.all():
|
||||
string += "\n|wAliases|n: %s" % (", ".join(utils.make_iter(str(obj.aliases))))
|
||||
if hasattr(obj, "sessions") and obj.sessions:
|
||||
string += "\n|wsession(s)|n: %s" % (", ".join(str(sess.sessid)
|
||||
if hasattr(obj, "sessions") and obj.sessions.all():
|
||||
string += "\n|wSession id(s)|n: %s" % (", ".join("#%i" % sess.sessid
|
||||
for sess in obj.sessions.all()))
|
||||
if hasattr(obj, "has_player") and obj.has_player:
|
||||
string += "\n|wPlayer|n: |c%s|n" % obj.player.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue