This commit is contained in:
phidias committed 2026-07-03 14:26:20 +09:00
1 parent 6642e16481
commit 114f712ad3
3 files changed
-34

No files matched your search

-14
View File
@@ -24,18 +24,4 @@ function main.toggle_editor(event)
game.tick_paused = false
end
function main.setting_change(event)
if event.setting_type ~= 'runtime-global' then
return
end
if event.setting ~= 'PHI-CT-EDITOR' then
return
end
for _, p in pairs(game.players) do
p.set_shortcut_available('phi-cl-toggle-editor', settings.global['PHI-CT-EDITOR'].value)
end
end
return main