make minor bugfixes to restore compat with mineclone2

This commit is contained in:
unknown
2022-11-20 19:47:14 -05:00
parent 5e9bfa049b
commit fc0d4990b0
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ local function after_break(pos)
end
if minetest.get_modpath("mesecons") and pipeworks.enable_detector_tube then
local detector_tube_step = 5 * tonumber(minetest.settings:get("dedicated_server_step"))
local detector_tube_step = 5 * (tonumber(minetest.settings:get("dedicated_server_step")) or 0.09)
pipeworks.register_tube("pipeworks:detector_tube_on", {
description = S("Detecting Pneumatic Tube Segment on"),
inventory_image = "pipeworks_detector_tube_inv.png",