Update init.lua

This commit is contained in:
brittm3 2016-11-23 10:26:22 -06:00 committed by GitHub
parent 2e52762f23
commit 2f97e91326

View File

@ -125,7 +125,7 @@ lightning.strike = function(pos)
-- damage nearby objects, player or not
for _, obj in ipairs(minetest.get_objects_inside_radius(pos, 5)) do
-- nil as param#1 is supposed to work, but core can't handle it.
obj:punch(obj, 1.0, {full_punch_interval = 1.0, damage_groups = {fleshy=8}}, nil)
obj:punch(obj, 1.0, {full_punch_interval = 1.0, damage_groups = {fleshy=8}}, nil)
end
local playerlist = minetest.get_connected_players()