From b1797f5fe3ba9a29004714f219c0d7194350f6a0 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Thu, 9 Apr 2015 21:53:44 +0200 Subject: Fix warnings and shorten sign code --- fire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fire.lua') 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) -- cgit v1.2.3