use rawget to test of enabled mods
parent
83783fb92c
commit
84711c1c6b
|
@ -1,4 +1,4 @@
|
||||||
if minetest.get_modpath("awards") and minetest.get_modpath("xpfw") then
|
if rawget(_G, "awards") and rawget(_G, "xpfw") then
|
||||||
|
|
||||||
for i,aw_def in ipairs(statistic_awards.hiking) do
|
for i,aw_def in ipairs(statistic_awards.hiking) do
|
||||||
local awdef={
|
local awdef={
|
||||||
|
|
Loading…
Reference in New Issue