diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 0f1f805b1c..c84c95774f 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -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