From 88d591ae01cf9eec45ecb9a6544896b698c2d435 Mon Sep 17 00:00:00 2001 From: Milan Ihl Date: Wed, 2 Dec 2015 10:34:06 +0100 Subject: [PATCH] disable only singleplayer-check --- mods/tnt/init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 8ce018b4..532e698c 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -1,11 +1,11 @@ -- Default to enabled in singleplayer and disabled in multiplayer -local singleplayer = minetest.is_singleplayer() -local setting = minetest.setting_getbool("enable_tnt") -if (not singleplayer and setting ~= true) or - (singleplayer and setting == false) then - return -end +--local singleplayer = minetest.is_singleplayer() +--local setting = minetest.setting_getbool("enable_tnt") +--if (not singleplayer and setting ~= true) or +-- (singleplayer and setting == false) then +-- return +--end -- loss probabilities array (one in X will be lost) local loss_prob = {}