mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-16 21:50:41 +09:00
.
This commit is contained in:
1 parent
e808cbb24d
commit
900460d4f7
3 files changed
+4
-4
No files matched your search
@@ -15,7 +15,7 @@ function main.toggle_editor(event)
|
||||
end
|
||||
|
||||
function main.available(player)
|
||||
player.set_shortcut_available('phi-cl-toggle-editor', player.admin and player.permission_group and player.permission_group.allows_action(defines.input_action.toggle_map_editor))
|
||||
player.set_shortcut_available('phi-cl-toggle-editor', player.admin and player.permission_group and player.permission_group.allows_action(defines.input_action.toggle_map_editor) or false)
|
||||
end
|
||||
|
||||
return main
|
||||
Reference in new issue
Block a user