Fix editor link validation regressions

This commit is contained in:
2026-05-14 10:31:25 +02:00
parent ec8761f4e8
commit fbc26bb3b8
2 changed files with 6 additions and 2 deletions

View File

@@ -558,6 +558,10 @@ public sealed class SimulationEngineTests
level = AddLine(level, ECarrierType.Electricity, new(2, 2), new(3, 2));
level = level.SetProp(new(2, 2), new() { Type = EPropType.Flow, Carrier = ECarrierType.Electricity });
}
else
{
level = level.SetUnderground(new(3, 2), ECarrierType.Electricity, new() { State = EUndergroundState.Intact });
}
return level.SetProp(new(3, 2), new() { Type = EPropType.Door, DoorState = EDoorState.Closed });
}