From f3bc9d795d35ae056250d74fad6db384a2d480ea Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 8 Aug 2016 14:25:54 +0200 Subject: [PATCH] Fix undeclared global variable "mesecon" --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 274e9c6..2298516 100644 --- a/init.lua +++ b/init.lua @@ -24,7 +24,7 @@ end dofile(boost_cart.modpath.."/functions.lua") dofile(boost_cart.modpath.."/rails.lua") -if mesecon then +if minetest.global_exists(mesecon) then dofile(boost_cart.modpath.."/detector.lua") end