BugFix - Delete Prototypes using spawn command

Spawn/delete <prototypekey> was not actually deleting anything.  This enables the command to work as expected.
This commit is contained in:
Antrare 2018-12-18 20:31:14 +11:00 committed by GitHub
parent 92726040e7
commit e102782ab0

View file

@ -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(