Skip to content

Commit c611d4e

Browse files
committed
fix inorganics raws scan
1 parent bb096b2 commit c611d4e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.txt

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Template for new versions:
3434
- `list-agreements`: fix date math when determining petition age
3535
- `gui/petitions`: fix date math when determining petition age
3636
- `gui/rename`: fix commandline processing when manually specifying target ids
37+
- `gui/sandbox`: restore metal equipment options when spawning units
3738

3839
## Misc Improvements
3940
- `fix/loyaltycascade`: now also breaks up brawls and other intra-fort conflicts that *look* like loyalty cascades

gui/sandbox.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ local function init_arena()
458458
-- for i in ipairs(df.builtin_mats) do
459459
-- do_insert(MAT_TABLE.builtin[i], i, -1)
460460
-- end
461-
for i, mat in ipairs(RAWS.inorganics) do
461+
for i, mat in ipairs(RAWS.inorganics.all) do
462462
do_insert(mat.material, 0, i)
463463
-- stop at the first "special" metal. we don't need more than that
464464
if mat.flags.DEEP_SPECIAL then break end

0 commit comments

Comments
 (0)