Make the move transition hooks use get_display_name to make them compatible with the rpsystem contrib as per #1051.

This commit is contained in:
Griatch 2016-09-08 22:11:22 +02:00
parent 3d6f65fcdd
commit e373e1733b
2 changed files with 12 additions and 13 deletions

View file

@ -1296,7 +1296,7 @@ class ContribRPObject(DefaultObject):
except AttributeError:
recog = None
sdesc = recog or (hasattr(self, "sdesc") and self.sdesc.get()) or self.key
pose = " %s" % ((self.db.pose or "") if kwargs.get("pose", False) else "")
pose = " %s" % (self.db.pose or "") if kwargs.get("pose", False) else ""
return "%s%s%s" % (sdesc, idstr, pose)
def return_appearance(self, looker):