evennia.commands.default.building.CmdDesc.edit_handler force access resitrations

CmdDesc edit_handler returns after access rejection
This commit is contained in:
davewiththenicehat 2021-06-29 09:14:47 -04:00
parent c2c6d8ad50
commit df9903e97d

View file

@ -651,6 +651,7 @@ class CmdDesc(COMMAND_DEFAULT_CLASS):
if not (obj.access(self.caller, "control") or obj.access(self.caller, "edit")):
self.caller.msg("You don't have permission to edit the description of %s." % obj.key)
return
self.caller.db.evmenu_target = obj
# launch the editor