Fix level-select dropdown loading into game instead of editor #17

Merged
tas merged 1 commits from LeSerjant/major_tom:fix/editor-level-select into main 2026-03-16 10:54:19 +00:00

1 Commits

Author SHA1 Message Date
58bf89f2f2 Fix level-select dropdown loading into game instead of editor
Some checks failed
CI / build (pull_request) Failing after 0s
Deploy / deploy (push) Has been cancelled
When the editor is active, the JS shell level-select dropdown was
unconditionally switching to MODE_PLAY. Now it detects MODE_EDITOR
and calls editor_load() to load the selected level into the editor.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 10:50:51 +00:00