mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 08:46:31 +01:00
Made the return of multimatch commands more easily parsable by using the query rather than the key. Resolves the second part of #933.
This commit is contained in:
parent
08f34ae61b
commit
f57aaa65cd
1 changed files with 1 additions and 1 deletions
|
|
@ -1554,7 +1554,7 @@ def at_search_result(matches, caller, query="", quiet=False, **kwargs):
|
|||
for num, result in enumerate(matches):
|
||||
error += "\n %i%s%s%s" % (
|
||||
num + 1, _MULTIMATCH_SEPARATOR,
|
||||
result.get_display_name(caller) if hasattr(result, "get_display_name") else result.key,
|
||||
result.get_display_name(caller) if hasattr(result, "get_display_name") else query,
|
||||
result.get_extra_info(caller))
|
||||
matches = None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue