mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Better handling of command ambiguity.
This commit is contained in:
parent
462b73b626
commit
27500b9762
1 changed files with 1 additions and 1 deletions
|
|
@ -363,6 +363,6 @@ class Command(object):
|
|||
Returns:
|
||||
A string with identifying information to disambiguate the object, conventionally with a preceding space.
|
||||
"""
|
||||
if hasattr(self, 'obj'):
|
||||
if hasattr(self, 'obj') and self.obj != caller:
|
||||
return " (%s)" % self.obj.get_display_name(caller)
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue