Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Source/Client/Windows/BootstrapConfiguratorWindow.BootstrapFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,18 @@ private void StartVanillaNewColonyFlow()
autoAdvanceArmed = true;
AwaitingBootstrapMapInit = true;
saveUploadStatus = "Generating map...";

// TODO: Narrow this workaround to the specific MP window or state that still leaves
// WindowStack.WindowsPreventCameraMotion true during Page_SelectStartingSite.
// Clearing all current windows is only a temporary bootstrap fix until that blocker is isolated.
foreach (var window in Find.WindowStack.Windows)
{
window.absorbInputAroundWindow = false;
window.preventCameraMotion = false;
}

Comment on lines +140 to +145
absorbInputAroundWindow = false;
preventCameraMotion = false;
Find.WindowStack.TryRemove(this);

var scenarioPage = new Page_SelectScenario();
Expand Down Expand Up @@ -170,6 +182,8 @@ public void OnBootstrapMapInitialized()
if (!AwaitingBootstrapMapInit)
return;

absorbInputAroundWindow = true;
preventCameraMotion = false;
hideWindowDuringMapGen = false;
retainInstanceOnClose = false;
AwaitingBootstrapMapInit = false;
Expand Down
Loading