feat(P.3.4): ESC -> switch_module(launcher) per ADR-0028

This commit is contained in:
Axel Meyer
2026-05-12 23:40:24 +02:00
parent ac04f0dca2
commit f0a5e4d1b3

View File

@@ -81,7 +81,10 @@ end
function update(ctx, dt)
if input.was_action_pressed("quit") then
engine.exit(0)
-- ADR-0028: ESC returns to launcher rather than exiting the app.
-- If launcher is not discoverable, P.3.2 lifecycle handles via fatal.
engine.switch_module("lib-sporel.launcher")
return
end
player.update(dt)