Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Oct 28, 2024
1 parent b94ae93 commit 54ea519
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 54ea519

Please sign in to comment.