From 8f2fb98eef22e487a8a269f9d473efbac3d7bba9 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Wed, 6 May 2020 19:44:51 +0200 Subject: [PATCH] fix undeclared variable --- mods/CORE/mcl_explosions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_explosions/init.lua b/mods/CORE/mcl_explosions/init.lua index c42bc3fec..bb2ed9837 100644 --- a/mods/CORE/mcl_explosions/init.lua +++ b/mods/CORE/mcl_explosions/init.lua @@ -366,7 +366,7 @@ function mcl_explosions.explode(pos, strength, info, puncher) if not sphere_shapes[radius] then sphere_shapes[radius] = compute_sphere_rays(radius) end - shape = sphere_shapes[radius] + local shape = sphere_shapes[radius] trace_explode(pos, strength, shape, radius, (info and info.drop_chance) or 1 / strength, info.fire == true, puncher)