diff --git a/changelog.txt b/changelog.txt index 55bfcf2f5..bc4da721c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -34,6 +34,7 @@ Template for new versions: - `list-agreements`: fix date math when determining petition age - `gui/petitions`: fix date math when determining petition age - `gui/rename`: fix commandline processing when manually specifying target ids +- `gui/sandbox`: restore metal equipment options when spawning units ## Misc Improvements - `fix/loyaltycascade`: now also breaks up brawls and other intra-fort conflicts that *look* like loyalty cascades diff --git a/gui/sandbox.lua b/gui/sandbox.lua index 29e93b51c..2fed03ca8 100644 --- a/gui/sandbox.lua +++ b/gui/sandbox.lua @@ -458,7 +458,7 @@ local function init_arena() -- for i in ipairs(df.builtin_mats) do -- do_insert(MAT_TABLE.builtin[i], i, -1) -- end - for i, mat in ipairs(RAWS.inorganics) do + for i, mat in ipairs(RAWS.inorganics.all) do do_insert(mat.material, 0, i) -- stop at the first "special" metal. we don't need more than that if mat.flags.DEEP_SPECIAL then break end