diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 35a651f536..53b710d97c 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -3086,7 +3086,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS): return elif nprots > 1: caller.msg("Found {} prototypes matching '{}':\n {}".format( - nprots, prototype, ", ".join(prot.get('prototype_key', '') + nprots, prototype, ", ".join(proto.get('prototype_key', '') for proto in prototypes))) return # we have a prototype, check access