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:
parent
3d6f65fcdd
commit
e373e1733b
2 changed files with 12 additions and 13 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue