Keep native voyage smoke timing independent of screenshot capture

This commit is contained in:
josh
2026-11-27 23:43:04 -05:00
parent 9500813df4
commit 3e3aa5d5a1

View File

@@ -96,7 +96,8 @@ namespace Soundings
yield break; yield break;
MovePassageToSmoke(.30f); MovePassageToSmoke(.30f);
if (!CheckSmoke(livePassage.CurrentEvent.HasValue && livePassage.ProvisionsRemaining < provisions, if (!CheckSmoke(livePassage.CurrentEvent.HasValue && livePassage.ProvisionsRemaining < provisions,
"Service uses inventory and opens a timed event")) "Service uses inventory and opens a timed event")
|| !SubmitSmoke("passage-event-0") || !CheckSmoke(livePassage.Expenses > 0 && !livePassage.CurrentEvent.HasValue, "Resolve the event"))
yield break; yield break;
for (int i = 0; i < 100; i++) for (int i = 0; i < 100; i++)
{ {
@@ -107,8 +108,6 @@ namespace Soundings
harbor.RotateView(112f); harbor.RotateView(112f);
yield return new WaitForSecondsRealtime(.38f); yield return new WaitForSecondsRealtime(.38f);
yield return CaptureSmoke(directory, "04a-underway-wake"); yield return CaptureSmoke(directory, "04a-underway-wake");
if (!SubmitSmoke("passage-event-0") || !CheckSmoke(livePassage.Expenses > 0 && !livePassage.CurrentEvent.HasValue, "Resolve the event"))
yield break;
if (!SubmitSmoke("passage-deck-0") || !CheckSmoke(passageDeck == 0, "Inspect the cabin deck")) if (!SubmitSmoke("passage-deck-0") || !CheckSmoke(passageDeck == 0, "Inspect the cabin deck"))
yield break; yield break;
yield return CaptureSmoke(directory, "05-cabin-deck"); yield return CaptureSmoke(directory, "05-cabin-deck");