Have device blowing up with power working, except for animation.

This commit is contained in:
2018-02-14 17:40:06 +00:00
parent 64dce3d907
commit 9bb974c70a
2 changed files with 7 additions and 0 deletions

View File

@ -726,6 +726,11 @@ namespace EduNetworkBuilder
{
PuzzleCount++;
}
if(nt.TheTest == NetTestType.DeviceBlowsUpWithPower && !nt.TaskWasDone)
{
NetworkDevice ND = DeviceFromName(nt.sHost);
if (ND != null) ND.PowerOff = true;
}
}
if (report_as_done && PuzzleCount == 0 && PreviouslyUnsolved)
{