From 478b42fb0e94486fb40aa5e6f405b26e1cbdc2fd Mon Sep 17 00:00:00 2001 From: Adam Curtis Date: Sat, 6 Jul 2024 18:37:36 -0400 Subject: [PATCH] fix(find/loc): show dbref of target location instead of target --- evennia/commands/default/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 558d96b3b5..fae0ace896 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -3289,7 +3289,7 @@ class CmdFind(COMMAND_DEFAULT_CLASS): if "loc" in self.switches and not is_account and result.location: string += ( 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: # Not an account/dbref search but a wider search; build a queryset.