mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2025-06-29 06:50:23 +02:00
Fix undeclared global variable "mesecon"
This commit is contained in:
2
init.lua
2
init.lua
@ -24,7 +24,7 @@ end
|
|||||||
dofile(boost_cart.modpath.."/functions.lua")
|
dofile(boost_cart.modpath.."/functions.lua")
|
||||||
dofile(boost_cart.modpath.."/rails.lua")
|
dofile(boost_cart.modpath.."/rails.lua")
|
||||||
|
|
||||||
if mesecon then
|
if minetest.global_exists(mesecon) then
|
||||||
dofile(boost_cart.modpath.."/detector.lua")
|
dofile(boost_cart.modpath.."/detector.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user