Skip to content

Commit

Permalink
fix: Fixed incompatibility with the "no overhang" mod
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 4, 2024
1 parent 5cef016 commit b7f3e65
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ circuit_wire_connection_points = {
circuit_wire_connection_points
}

local nothing = {
filename = '__fluid-memory-storage__/graphics/entity/nothing.png',
priority = 'extra-high',
size = 1
}
local function nothing()
return {
filename = '__fluid-memory-storage__/graphics/entity/nothing.png',
priority = 'extra-high',
size = 1
}
end

data:extend{
{
Expand Down Expand Up @@ -136,10 +138,10 @@ data:extend{
scale = 0.5
}
},
fluid_background = nothing,
window_background = nothing,
flow_sprite = nothing,
gas_flow = nothing
fluid_background = nothing(),
window_background = nothing(),
flow_sprite = nothing(),
gas_flow = nothing()
},
flow_length_in_ticks = 360,
corpse = 'medium-remnants',
Expand Down Expand Up @@ -203,8 +205,8 @@ data:extend{
type = 'constant-combinator',
collision_mask = {},
remove_decoratives = 'false',
sprites = nothing,
activity_led_sprites = nothing,
sprites = nothing(),
activity_led_sprites = nothing(),
activity_led_light_offsets = {{0, 0}, {0, 0}, {0, 0}, {0, 0}},
activity_led_light_offsets = {{0, 0}, {0, 0}, {0, 0}, {0, 0}},
selection_priority = 51,
Expand Down

0 comments on commit b7f3e65

Please sign in to comment.