From d82008a256ce3d79d3c8012e3cbaa47499e4753b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=B5=D1=80=D1=85=D0=B0=D1=80=D0=B4=20PICCORO=20Len?= =?UTF-8?q?z=20McKAY?= Date: Fri, 5 Aug 2022 22:47:04 -0400 Subject: [PATCH] tnt - update to fix MT5 game detectio engine api * backported https://codeberg.org/minenux/minetest-mod-tnt/commit/fca1999990fe89e531ae28a69e12b3784c2e29a5 * closes https://notabug.org/TenPlus1/tnt/issues/2 * closes https://codeberg.org/minenux/minetest-mod-tnt/issues/2 --- mods/tnt/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 588bb36..4f76471 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -7,7 +7,7 @@ if enable_tnt == nil then end -- minetest 5.x check -local mt_50 = minetest.get_translator +local mt_50 = minetest.has_feature("add_player_velocity") -- loss probabilities array (one in X will be lost) local loss_prob = {}