IFL scenario handoff: Die's relaunch fires only if no launch has begun and the manager lives

MainMenu.Launching is true from Launch or EnterGame until a refusal; Die's fade completion checks it and the
subscription ends with the manager.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-26 02:47:25 +01:00
commit f26ece5b32
2 changed files with 14 additions and 3 deletions

View file

@ -1404,8 +1404,10 @@ public class ActionGameManager : MonoBehaviour
SevereHypothermiaPost.weight = 0;
DeathPost.weight = 1;
// Every run begins in the simulation (ruling terminus-boots-into-ifl), so death anywhere returns to it.
MainMenu.Launch(Scenarios.Simulation);
});
// A New Game or Continue click during the fade has already launched; the scene reload ends the subscription.
if (!MainMenu.Launching) MainMenu.Launch(Scenarios.Simulation);
})
.AddTo(this);
}
// public void ToggleEditMode()