From 3ddff2fbea63aeaa535d7e59254554dc65adb314 Mon Sep 17 00:00:00 2001
From: Auke Kok <sofar@foo-projects.org>
Date: Fri, 18 Mar 2016 23:31:10 -0700
Subject: [PATCH] TNT: Chain reaction

With the new high res timer, we can make TNT much better create chain
reactions. This does exactly that.
---
 mods/tnt/init.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua
index 289797ce..4010f987 100644
--- a/mods/tnt/init.lua
+++ b/mods/tnt/init.lua
@@ -428,7 +428,9 @@ function tnt.register_tnt(def)
 			end
 		end,
 		on_blast = function(pos, intensity)
-			tnt.burn(pos)
+			minetest.after(0.1, function()
+				tnt.boom(pos, def)
+			end)
 		end,
 		mesecons = {effector = 
 			{action_on = 
-- 
2.25.1