Merge pull request #3580 from erratic-pattern/v4.1.1-patched
fix(find/loc): show dbref of target location instead of target
This commit is contained in:
commit
4db4fe8666
1 changed files with 1 additions and 1 deletions
|
|
@ -3293,7 +3293,7 @@ class CmdFind(COMMAND_DEFAULT_CLASS):
|
||||||
if "loc" in self.switches and not is_account and result.location:
|
if "loc" in self.switches and not is_account and result.location:
|
||||||
string += (
|
string += (
|
||||||
f" (|wlocation|n: |g{result.location.get_display_name(caller)}"
|
f" (|wlocation|n: |g{result.location.get_display_name(caller)}"
|
||||||
f"{result.get_extra_display_name_info(caller)}|n)"
|
f"{result.location.get_extra_display_name_info(caller)}|n)"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# Not an account/dbref search but a wider search; build a queryset.
|
# Not an account/dbref search but a wider search; build a queryset.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue