Skip to content

Commit

Permalink
compat: Fixed crash with the "castra" mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jan 30, 2025
1 parent edcb866 commit 52f01c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compat/castra.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data.raw.technology["cargo-landing-pad-capacity"].unit.ingredients = table.dedupe(
data.raw.technology["cargo-landing-pad-capacity"].unit.ingredients
)
1 change: 1 addition & 0 deletions data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require "compat.visible-planets-in-space"
require "compat.rocket-silo-construction"
require "compat.whats-a-spoilage"
require "compat.combat-mechanics-overhaul"
require "compat.castra"

for extractor in pairs(maraxsis.MARAXSIS_SAND_EXTRACTORS) do
local mask = collision_mask_util.get_mask(data.raw["mining-drill"][extractor])
Expand Down

0 comments on commit 52f01c6

Please sign in to comment.