forked from VoxeLibre/VoxeLibre
Reduce player death fanfare
This commit is contained in:
parent
87ce350653
commit
06e6cd2941
|
@ -724,7 +724,7 @@ end, -200)
|
|||
minetest.register_on_respawnplayer(function(player)
|
||||
local pos = player:get_pos()
|
||||
minetest.add_particlespawner({
|
||||
amount = 50,
|
||||
amount = 4,
|
||||
time = 0.001,
|
||||
minpos = vector.add(pos, 0),
|
||||
maxpos = vector.add(pos, 0),
|
||||
|
@ -741,7 +741,7 @@ minetest.register_on_respawnplayer(function(player)
|
|||
|
||||
minetest.sound_play("mcl_mobs_mob_poof", {
|
||||
pos = pos,
|
||||
gain = 1.0,
|
||||
gain = 0.5,
|
||||
max_hear_distance = 8,
|
||||
}, true)
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue