mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Merge branch 'CmdDesc_edit_not_force_access_restrictions' of https://github.com/davewiththenicehat/evennia into davewiththenicehat-CmdDesc_edit_not_force_access_restrictions
This commit is contained in:
commit
d8720b1151
1 changed files with 1 additions and 0 deletions
|
|
@ -652,6 +652,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue