mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fixes random slosh sounds happening rarely (#8594)
This commit is contained in:
@@ -58,11 +58,11 @@
|
|||||||
|
|
||||||
step_count = 0
|
step_count = 0
|
||||||
|
|
||||||
if(!vore_footstep_volume || !vore_footstep_chance)
|
if(!vore_footstep_volume || !vore_footstep_chance)
|
||||||
return
|
return
|
||||||
|
|
||||||
if(prob(vore_footstep_chance))
|
if(prob(vore_footstep_chance))
|
||||||
handle_vorefootstep(source)
|
handle_vorefootstep(source)
|
||||||
|
|
||||||
/datum/element/slosh/proc/handle_vorefootstep(mob/living/source)
|
/datum/element/slosh/proc/handle_vorefootstep(mob/living/source)
|
||||||
if(!CONFIG_GET(number/vorefootstep_volume) || !vore_footstep_volume)
|
if(!CONFIG_GET(number/vorefootstep_volume) || !vore_footstep_volume)
|
||||||
|
|||||||
Reference in New Issue
Block a user