cleanup code

This commit is contained in:
2026-05-10 18:37:30 +02:00
parent d22c4a7528
commit 6c7fa070f6
18 changed files with 215 additions and 213 deletions

View File

@@ -111,7 +111,7 @@ public static class LevelEditor
return SetFloorProp(level, position, new() { Type = EPropType.Door });
return SetFloorProp(level, position, new() { Type = EPropType.Door }) with {
Doors = [.. level.Doors, new DoorState { A = position, B = neighbor }]
Doors = [.. level.Doors, new() { A = position, B = neighbor }]
};
}
@@ -125,7 +125,7 @@ public static class LevelEditor
return levelWithProp with {
Reactors = [
.. level.Reactors,
new ReactorBinding {
new() {
ReactorId = id,
ControlPosition = position,
FuelConsumerPosition = position,
@@ -152,7 +152,7 @@ public static class LevelEditor
return next with {
Leaks = [
.. next.Leaks,
new LeakState {
new() {
Carrier = carrier,
UndergroundPosition = position,
AccessPosition = accessPosition