Mark the puzzle as being complete. If we need to track it, we want to do that as well. This had been a bit of a bug; it only marked it as done if it had never been done previously. So, if you were trying to replay something, it would only be completed if you had never done it. Lots of puzzles were failing their replay.
This commit is contained in:
parent
87e483c43e
commit
c4c58b59bd
@ -909,10 +909,15 @@ namespace EduNetworkBuilder
|
|||||||
if (ND != null) ND.PowerOff = true;
|
if (ND != null) ND.PowerOff = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (report_as_done && PuzzleCount == 0 && PreviouslyUnsolved)
|
if (PuzzleCount == 0 && PreviouslyUnsolved)
|
||||||
{
|
{
|
||||||
//The puzzle was just solved
|
PuzzleIsSolved = true;
|
||||||
MarkAsSolved();
|
if (NB.DebugTests) Console.WriteLine("Recognizing puzzle is solved: " + PuzzleName);
|
||||||
|
if (report_as_done)
|
||||||
|
{
|
||||||
|
//The puzzle was just solved
|
||||||
|
MarkAsSolved();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user