Merge pull request #1756 from Antrare/patch-1

BugFix - Delete Prototypes using spawn command
This commit is contained in:
Griatch 2018-12-19 00:04:41 +01:00 committed by GitHub
commit 0779fd6c67

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(