summaryrefslogtreecommitdiff
path: root/fire.lua
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2015-04-09 21:53:44 +0200
committerSmallJoker <mk939@ymail.com>2015-04-09 21:53:44 +0200
commitb1797f5fe3ba9a29004714f219c0d7194350f6a0 (patch)
treefdfdb8bef2095c4eb3a162eda116f4d083391fb9 /fire.lua
parentbaba81eeb1efab5313d5fbeb949ecf1181185a50 (diff)
Fix warnings and shorten sign code
Diffstat (limited to 'fire.lua')
-rw-r--r--fire.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fire.lua b/fire.lua
index 1059603..786c67b 100644
--- a/fire.lua
+++ b/fire.lua
@@ -1,4 +1,4 @@
-if minetest.get_modpath("fire") then
+if minetest.get_modpath("fire") and rawget(_G, "fire") then
landrush.default_flame_should_extinguish = fire.flame_should_extinguish
function fire.flame_should_extinguish(pos)