1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-24 18:00:22 +01:00

Squelch a warning if no mesecons.

This commit is contained in:
Auke Kok 2016-04-14 22:24:43 -07:00
parent 82c03466d7
commit 66cfc745e1

View File

@ -3,7 +3,7 @@
local pipereceptor_on = nil
local pipereceptor_off = nil
if mesecon then
if minetest.get_modpath("mesecons") then
pipereceptor_on = {
receptor = {
state = mesecon.state.on,