1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

Disable shower flowing for everyone

This commit is contained in:
kilbith 2015-04-29 09:18:38 +02:00
parent 07ced77591
commit 9a92d09421

View File

@ -231,8 +231,7 @@ homedecor.register("shower_head", {
minetest.sound_stop(s_handle) minetest.sound_stop(s_handle)
end, s_handle) end, s_handle)
end end
local player = clicker:get_player_name() minetest.delete_particlespawner(id)
minetest.delete_particlespawner(id, player)
this_spawner_meta:set_int("active", nil) this_spawner_meta:set_int("active", nil)
this_spawner_meta:set_int("sound", nil) this_spawner_meta:set_int("sound", nil)
return return