Skip to content

Commit b0b2513

Browse files
authored
Fix type in some switch statements, add missing case (#83763)
1 parent b83c71b commit b0b2513

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/json/mapgen_palettes/apartment_complex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
"furniture": {
9090
"Ŧ": {
91-
"switch": { "param": "fencing_type", "fallback": "f_null" },
91+
"switch": { "param": "fencing_type", "fallback": "t_region_soil" },
9292
"cases": {
9393
"t_region_shrub_decorative": "f_null",
9494
"t_region_soil": "f_hedge_short",
@@ -100,7 +100,7 @@
100100
}
101101
},
102102
"%": {
103-
"switch": { "param": "shrubbery_type", "fallback": "f_null" },
103+
"switch": { "param": "shrubbery_type", "fallback": "t_region_soil" },
104104
"cases": {
105105
"t_region_shrub_decorative": "f_null",
106106
"t_region_soil": "f_hedge_short",

data/json/mapgen_palettes/park_palette.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
},
126126
"furniture": {
127127
"Y": {
128-
"switch": { "param": "walkway", "fallback": "f_null" },
128+
"switch": { "param": "walkway", "fallback": "t_region_soil" },
129129
"cases": {
130130
"t_railroad_rubble": "f_null",
131131
"t_region_soil": "f_null",

0 commit comments

Comments
 (0)