From e102782ab046ab10907e085d48fc010967d4efc3 Mon Sep 17 00:00:00 2001 From: Antrare Date: Tue, 18 Dec 2018 20:31:14 +1100 Subject: [PATCH] BugFix - Delete Prototypes using spawn command Spawn/delete was not actually deleting anything. This enables the command to work as expected. --- evennia/commands/default/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 7b77ae0faa..35a651f536 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -3041,7 +3041,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS): caller.msg("|rDeletion cancelled.|n") return try: - success = protlib.delete_db_prototype(caller, self.args) + success = protlib.delete_prototype(self.args) except protlib.PermissionError as err: caller.msg("|rError deleting:|R {}|n".format(err)) caller.msg("Deletion {}.".format(