From bc443909844d51bb7bbcc5e89b61cecbc83e0ee7 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Sat, 20 Jul 2013 22:07:24 +0200 Subject: Enable builtin drowning --- no_drowning.lua | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 no_drowning.lua (limited to 'no_drowning.lua') diff --git a/no_drowning.lua b/no_drowning.lua deleted file mode 100644 index f7b3149..0000000 --- a/no_drowning.lua +++ /dev/null @@ -1,15 +0,0 @@ -local function drwn_overwrite(name) - local table = minetest.registered_nodes[name] - local table2 = {} - for i,v in pairs(table) do - table2[i] = v - end - table2.drowning = false - table2.hud_drowning = true - minetest.register_node(":"..name, table2) -end - -drwn_overwrite("default:water_source") -drwn_overwrite("default:water_flowing") -drwn_overwrite("default:lava_source") -drwn_overwrite("default:lava_flowing") -- cgit v1.2.3