diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-06-08 10:52:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 10:52:03 +0200 |
commit | b0580176b47affaab7a43c6e7058b250b8f25784 (patch) | |
tree | d505ea69d82e6f70f009fe57dc04062801442e3a /advtrains | |
parent | 92af0b53e57248b004115ebc50bbd2f2ec630d50 (diff) | |
parent | f6b00f882cd440ed78f068ba5e211b54a90bc805 (diff) | |
download | advtrains-b0580176b47affaab7a43c6e7058b250b8f25784.tar.gz advtrains-b0580176b47affaab7a43c6e7058b250b8f25784.tar.bz2 advtrains-b0580176b47affaab7a43c6e7058b250b8f25784.zip |
Merge pull request #75 from AntumDeluge/digtron
Check if 'digtron' global exists before calling in condition
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/advtrains/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains/init.lua b/advtrains/advtrains/init.lua index 1bb356d..7ab5b8f 100644 --- a/advtrains/advtrains/init.lua +++ b/advtrains/advtrains/init.lua @@ -144,7 +144,7 @@ dofile(advtrains.modpath.."/crafting.lua") dofile(advtrains.modpath.."/craft_items.lua") dofile(advtrains.modpath.."/loading.lua") -if digtron then +if minetest.global_exists("digtron") then dofile(advtrains.modpath.."/digtron.lua") end |