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:
6fa3ebf
)
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
sfan5
<sfan5@live.de>
Sun, 19 Nov 2017 22:03:34 +0000
(23:03 +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(...)