fixed issue with blocking tutorial

This commit is contained in:
2025-01-28 17:14:17 +01:00
parent b6ded8d8df
commit 9f93d5ebc1
7 changed files with 456 additions and 442 deletions

View File

@@ -195,11 +195,18 @@ namespace Beyond
public void SkipTutorialStepsTo(int stepIndex)
{
int index = GetCurrentStepIndex();
while (index != stepIndex)
try
{
steps[index].ForceStepFinished();
index++;
int index = GetCurrentStepIndex();
while (index != stepIndex)
{
steps[index].ForceStepFinished();
index++;
}
}
catch (Exception e)
{
Debug.LogException(e, this);
}
}
}