diff --git a/init.lua b/init.lua index e44e372..ee4c1af 100644 --- a/init.lua +++ b/init.lua @@ -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)