From 27500b97622d3f18acf8feeadce68464c79351eb Mon Sep 17 00:00:00 2001 From: Jonathan Piacenti Date: Sat, 20 Jun 2015 16:31:59 -0500 Subject: [PATCH] Better handling of command ambiguity. --- evennia/commands/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/command.py b/evennia/commands/command.py index 9d7cd62500..f3d8986507 100644 --- a/evennia/commands/command.py +++ b/evennia/commands/command.py @@ -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 ""