From 5b4f19c8b35b8095e17d9e2b799afbf91f769eaa Mon Sep 17 00:00:00 2001 From: StyLuaFormatter Date: Fri, 5 Jan 2024 10:56:57 +0000 Subject: [PATCH] Format Code --- boblogistics/control.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/boblogistics/control.lua b/boblogistics/control.lua index a67ca0ae9..39e73e160 100644 --- a/boblogistics/control.lua +++ b/boblogistics/control.lua @@ -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) @@ -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)