From 9a92d094218204dbf3038d968539ee67c4f50923 Mon Sep 17 00:00:00 2001 From: kilbith Date: Wed, 29 Apr 2015 09:18:38 +0200 Subject: [PATCH] Disable shower flowing for everyone --- homedecor/bathroom_sanitation.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homedecor/bathroom_sanitation.lua b/homedecor/bathroom_sanitation.lua index cfe6f74e..3b634d13 100644 --- a/homedecor/bathroom_sanitation.lua +++ b/homedecor/bathroom_sanitation.lua @@ -231,8 +231,7 @@ homedecor.register("shower_head", { minetest.sound_stop(s_handle) end, s_handle) end - local player = clicker:get_player_name() - minetest.delete_particlespawner(id, player) + minetest.delete_particlespawner(id) this_spawner_meta:set_int("active", nil) this_spawner_meta:set_int("sound", nil) return