From 2f97e91326bf94745518fdd0504200978e299c88 Mon Sep 17 00:00:00 2001 From: brittm3 Date: Wed, 23 Nov 2016 10:26:22 -0600 Subject: [PATCH] Update init.lua --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 367864c..b40f608 100644 --- a/init.lua +++ b/init.lua @@ -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()