fixed issue with blocking tutorial
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user