diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index f634b492a3..e8810368a3 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -1798,10 +1798,6 @@ class CmdExamine(ObjManipCommand): string += "\n{wPermissions{n: %s" % perms_string - tags_string = utils.fill(", ".join(tag for tag in obj.tags.all()), indent=5) - if tags_string: - string += "\n{wTags{n: %s" % tags_string - locks = str(obj.locks) if locks: locks_string = utils.fill("; ".join([lock for lock in locks.split(';')]), indent=6) @@ -1853,6 +1849,12 @@ class CmdExamine(ObjManipCommand): string += "\n{wScripts{n:\n %s" % obj.scripts # add the attributes string += self.format_attributes(obj) + + # display Tags + tags_string = utils.fill(", ".join(tag for tag in obj.tags.all()), indent=5) + if tags_string: + string += "\n{wTags{n: %s" % tags_string + # add the contents exits = [] pobjs = []