diff --git a/PHI-CL/control/shortcut.lua b/PHI-CL/control/shortcut.lua index 4834cb5..8b7c5b2 100644 --- a/PHI-CL/control/shortcut.lua +++ b/PHI-CL/control/shortcut.lua @@ -11,7 +11,7 @@ function main.toggle(event) return end - if player.admin then + if not player.admin then return end diff --git a/PHI-CL/data/b/ct.lua b/PHI-CL/data/b/ct.lua index 8e750cc..ccff00d 100644 --- a/PHI-CL/data/b/ct.lua +++ b/PHI-CL/data/b/ct.lua @@ -179,7 +179,7 @@ if data.raw['blueprint-book'] and data.raw['blueprint-book']['blueprint-book'] t icon_size = data.raw['blueprint-book']['blueprint-book'].icon_size, small_icon = data.raw['blueprint-book']['blueprint-book'].icon, small_icon_size = data.raw['blueprint-book']['blueprint-book'].icon_size, - localised_name = {'', {'name.super-entity'}, {'gui-permissions-names.ToggleMapEditor'}} + localised_name = {'', {'gui-permissions-names.ToggleMapEditor'}} }}) end