cleanup code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user