diff --git a/mods/runes/textures/runes_improved_heal.png b/mods/runes/textures/runes_improved_heal.png deleted file mode 100644 index e4766148..00000000 Binary files a/mods/runes/textures/runes_improved_heal.png and /dev/null differ diff --git a/mods/runes/textures/runes_perfect_heal.png b/mods/runes/textures/runes_perfect_heal.png deleted file mode 100644 index e7d1d257..00000000 Binary files a/mods/runes/textures/runes_perfect_heal.png and /dev/null differ diff --git a/mods/runes/textures/runes_simple_heal.png b/mods/runes/textures/runes_simple_heal.png deleted file mode 100644 index 25d0c289..00000000 Binary files a/mods/runes/textures/runes_simple_heal.png and /dev/null differ diff --git a/mods/solarmana/init.lua b/mods/solarmana/init.lua index aeeb1709..eef0caf0 100644 --- a/mods/solarmana/init.lua +++ b/mods/solarmana/init.lua @@ -91,14 +91,13 @@ minetest.register_globalstep(function(dtime) end for key, value in pairs(mana_from_node) do - if key:split(":")[1] == "group" then - local groupname = key:split(":")[2] - if minetest.get_node_group(node.name, groupname) > 0 then - regen_to = math.max(regen_to, value) -- We get the greater one (if the node is part of 2 or more groups) - end - end - end - + if key:split(":")[1] == "group" then + local groupname = key:split(":")[2] + if minetest.get_node_group(node.name, groupname) > 0 then + regen_to = math.max(regen_to, value) -- We get the greater one (if the node is part of 2 or more groups) + end + end + end mana.setregen(name, regen_to) --print("Regen to "..regen_to.." : "..light_day.."/"..light_now.."/"..light_night)