Fixes random slosh sounds happening rarely (#8594)

This commit is contained in:
Guti
2024-06-30 08:52:51 +02:00
committed by GitHub
parent eb4103765d
commit 54c296ba4b

View File

@@ -58,11 +58,11 @@
step_count = 0
if(!vore_footstep_volume || !vore_footstep_chance)
return
if(!vore_footstep_volume || !vore_footstep_chance)
return
if(prob(vore_footstep_chance))
handle_vorefootstep(source)
if(prob(vore_footstep_chance))
handle_vorefootstep(source)
/datum/element/slosh/proc/handle_vorefootstep(mob/living/source)
if(!CONFIG_GET(number/vorefootstep_volume) || !vore_footstep_volume)