Skip to content

Commit 163f961

Browse files
committed
Remove references to materials.*_BASE
in favor of df.builtin_mats.*_1
1 parent b0e865c commit 163f961

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gui/sandbox.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,9 @@ local function init_arena()
464464
if mat.flags.DEEP_SPECIAL then break end
465465
end
466466
if data.want_leather then
467-
leather_index_hint = scan_organic(df.organic_mat_category.Leather, RAWS.creatures.all, leather_index_hint, materials.CREATURE_BASE, do_insert)
467+
leather_index_hint = scan_organic(df.organic_mat_category.Leather, RAWS.creatures.all, leather_index_hint, df.builtin_mats.CREATURE_1, do_insert)
468468
end
469-
plant_index_hint = scan_organic(df.organic_mat_category.Wood, RAWS.plants.all, plant_index_hint, materials.PLANT_BASE, do_insert)
469+
plant_index_hint = scan_organic(df.organic_mat_category.Wood, RAWS.plants.all, plant_index_hint, df.builtin_mats.PLANT_1, do_insert)
470470
::inner_continue::
471471
end
472472
::continue::

0 commit comments

Comments
 (0)