projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1f376
)
Lava cooling: Increase interval to 2
author
paramat
<paramat@users.noreply.github.com>
Thu, 27 Jul 2017 00:16:17 +0000
(
01:16
+0100)
committer
paramat
<mat.gregory@virginmedia.com>
Tue, 1 Aug 2017 02:57:10 +0000
(
03:57
+0100)
An excessive load has been reported caused by the node searching, so even
when no lava is present.
mods/default/functions.lua
patch
|
blob
|
history
diff --git
a/mods/default/functions.lua
b/mods/default/functions.lua
index 327e0c8be46644e139ce2c93663f24e7be31bc2f..bdc30158cb43991dcfb778e0adbd9778cdf01124 100644
(file)
--- a/
mods/default/functions.lua
+++ b/
mods/default/functions.lua
@@
-136,7
+136,7
@@
if minetest.settings:get_bool("enable_lavacooling") ~= false then
label = "Lava cooling",
nodenames = {"default:lava_source", "default:lava_flowing"},
neighbors = {"group:cools_lava", "group:water"},
- interval =
1
,
+ interval =
2
,
chance = 2,
catch_up = false,
action = function(...)