diff --git a/[editor]/editor_main/server/util.lua b/[editor]/editor_main/server/util.lua index 3b32e0e75..7876c1dc8 100644 --- a/[editor]/editor_main/server/util.lua +++ b/[editor]/editor_main/server/util.lua @@ -1,7 +1,7 @@ function isPlayerAllowedToDoEditorAction(player,action) if isElement(player) and getElementType(player)=="player" and action and type(action)=="string" then -- return hasObjectPermissionTo(player,"resource.editor."..action,false) - return hasObjectPermissionTo(player,"resource.editor."..action) + return hasObjectPermissionTo(player,"resource.editor."..action, true) end return false