Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Jan 5, 2024
1 parent 48e2356 commit 5b4f19c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions boblogistics/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,9 @@ function bobmods.logistics.check_range(event)
end

script.on_load(function()
if settings.startup["bobmods-logistics-inserteroverhaul"].value == true and not script.active_mods["bobinserters"] then
if
settings.startup["bobmods-logistics-inserteroverhaul"].value == true and not script.active_mods["bobinserters"]
then
script.on_event("bob-inserter-long", bobmods.logistics.check_range)
end
end)
Expand All @@ -390,7 +392,9 @@ script.on_init(function(event)
bobmods.logistics.player_setup(player.index)
end

if settings.startup["bobmods-logistics-inserteroverhaul"].value == true and not script.active_mods["bobinserters"] then
if
settings.startup["bobmods-logistics-inserteroverhaul"].value == true and not script.active_mods["bobinserters"]
then
script.on_event("bob-inserter-long", bobmods.logistics.check_range)
end
end)
Expand Down

0 comments on commit 5b4f19c

Please sign in to comment.