fixes in tutorial saving

This commit is contained in:
2024-12-04 09:15:55 +01:00
parent 9f0ad6fe5f
commit 8c5ecb6405
7 changed files with 883 additions and 805 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -101,8 +101,14 @@ namespace Beyond
{
if (!currentStep)
{
return;
if (steps.Count > 0)
{
currentStep = steps[0];
}
else
return;
}
int id = steps.FindIndex(step => step == currentStep);
for (int i = id; i < steps.Count; i++)
{