mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Fix an error when there are many same-named characters/objects to puppet with ic.
This commit is contained in:
parent
00881c3bbe
commit
e66020f369
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ class CmdIC(COMMAND_DEFAULT_CLASS):
|
|||
self.msg("That is not a valid character choice.")
|
||||
return
|
||||
if len(new_character) > 1:
|
||||
self.msg("Multiple characters with the same name:\n %s" % ", ".join(new_character))
|
||||
self.msg("Multiple targets with the same name:\n %s" % ", ".join("%s(#%s)" % (obj.key, obj.id) for obj in new_character))
|
||||
return
|
||||
else:
|
||||
new_character = new_character[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue