mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 14:50:41 +02:00
add finite water feature toggle and auto-detect code
This commit is contained in:
5
init.lua
5
init.lua
@ -103,6 +103,11 @@ end
|
||||
-------------------------------------------
|
||||
-- Load the various other parts of the mod
|
||||
|
||||
-- early auto-detection for finite water mode if not explicitly disabled
|
||||
if pipeworks.toggles.finite_water == nil then
|
||||
dofile(pipeworks.modpath.."/autodetect-finite-water.lua")
|
||||
end
|
||||
|
||||
dofile(pipeworks.modpath.."/common.lua")
|
||||
dofile(pipeworks.modpath.."/models.lua")
|
||||
dofile(pipeworks.modpath.."/autoplace_pipes.lua")
|
||||
|
Reference in New Issue
Block a user