mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 21:47:17 +02:00
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:
parent
92726040e7
commit
e102782ab0
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue