summaryrefslogtreecommitdiff
path: root/fake_fire
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-06-23 17:26:11 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-06-23 17:26:11 -0400
commit2a6246016b9272e7fecd82846e138810c87f06b4 (patch)
treed7b4e2a8d8d5ce2807eaab7eea5bb762a8db99f1 /fake_fire
parentcd9258383449f9065f486100ae6e8cab4a30ec48 (diff)
downloaddreambuilder_modpack-2a6246016b9272e7fecd82846e138810c87f06b4.tar
dreambuilder_modpack-2a6246016b9272e7fecd82846e138810c87f06b4.tar.gz
dreambuilder_modpack-2a6246016b9272e7fecd82846e138810c87f06b4.tar.bz2
dreambuilder_modpack-2a6246016b9272e7fecd82846e138810c87f06b4.tar.xz
dreambuilder_modpack-2a6246016b9272e7fecd82846e138810c87f06b4.zip
update currency, homedecor, unified inventory
Diffstat (limited to 'fake_fire')
-rw-r--r--fake_fire/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/fake_fire/init.lua b/fake_fire/init.lua
index c7408b4..5509976 100644
--- a/fake_fire/init.lua
+++ b/fake_fire/init.lua
@@ -16,8 +16,8 @@ local function start_smoke(pos, node, clicker, chimney)
end, s_handle)
end
minetest.delete_particlespawner(id)
- this_spawner_meta:set_int("smoky", nil)
- this_spawner_meta:set_int("sound", nil)
+ this_spawner_meta:set_int("smoky", 0)
+ this_spawner_meta:set_int("sound", 0)
return
end
@@ -34,7 +34,7 @@ local function start_smoke(pos, node, clicker, chimney)
})
if chimney == 1 then
this_spawner_meta:set_int("smoky", id)
- this_spawner_meta:set_int("sound", nil)
+ this_spawner_meta:set_int("sound", 0)
else
s_handle = minetest.sound_play("fire_small", {
pos = pos,
@@ -62,8 +62,8 @@ local function stop_smoke(pos)
end, s_handle)
end
- this_spawner_meta:set_int("smoky", nil)
- this_spawner_meta:set_int("sound", nil)
+ this_spawner_meta:set_int("smoky", 0)
+ this_spawner_meta:set_int("sound", 0)
end
minetest.register_node("fake_fire:ice_fire", {