From be4da8546208a54c0aa329c8baeb6d9ede16251c Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 19 Jul 2021 18:22:57 -0700 Subject: [PATCH] Add nil check to sneeker.boom method --- tnt_function.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tnt_function.lua b/tnt_function.lua index 620c78e..40d10cc 100644 --- a/tnt_function.lua +++ b/tnt_function.lua @@ -288,6 +288,8 @@ local function explode(pos, radius) end function sneeker.boom(pos, large) + if not pos then return end + local radius = radius if large then radius = large_radius