From 54c296ba4b5cb1f97e800cfc38acbf753d75816f Mon Sep 17 00:00:00 2001 From: Guti <32563288+TheCaramelion@users.noreply.github.com> Date: Sun, 30 Jun 2024 08:52:51 +0200 Subject: [PATCH] Fixes random slosh sounds happening rarely (#8594) --- modular_chomp/code/datums/elements/slosh.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modular_chomp/code/datums/elements/slosh.dm b/modular_chomp/code/datums/elements/slosh.dm index a14577cf08..0736c12fe7 100644 --- a/modular_chomp/code/datums/elements/slosh.dm +++ b/modular_chomp/code/datums/elements/slosh.dm @@ -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)