Skip to content

Commit

Permalink
Merge branch 'dev2.0' of https://github.com/modded-factorio/bobsmods
Browse files Browse the repository at this point in the history
…into dev2.0
  • Loading branch information
KiwiHawk committed Oct 28, 2024
2 parents 904e5ad + 54ea519 commit 40c34bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bobinserters/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,11 @@ function bobmods.logistics.set_positions(entity, player_index)
set_both_positions(entity, pickup_position, full_drop_position)
end

if entity.type ~= "entity-ghost" and storage.bobmods.logistics[player_index].enabled2 and remote.interfaces.bobinserters then
if
entity.type ~= "entity-ghost"
and storage.bobmods.logistics[player_index].enabled2
and remote.interfaces.bobinserters
then
local pickup_position =
remote.call("bobinserters", "get_position", { position = storage.bobmods.logistics[player_index].pickup })
local drop_position =
Expand Down

0 comments on commit 40c34bb

Please sign in to comment.