Compare commits

...

1 Commits

Author SHA1 Message Date
Aviv Cohn
e003e4dc94 fix: move ChangeScenario outside of loop, remove the discard modifier 2026-03-20 13:43:51 -04:00

View File

@@ -445,10 +445,10 @@ namespace PepperDash.Essentials.Core
else
{
Debug.LogMessage(LogEventLevel.Debug, this, "Unable to find partition with key: '{0}'", partitionState.PartitionKey);
}
// Sets the scenario while disregarding the returned task. This prevents current scenario from being null when starting in manual mode.
_ = ChangeScenario(scenario);
}
}
// Activates the scenario to prevent _currentScenario from being null when starting in manual mode.
ChangeScenario(scenario);
}
else
{