Update code/modules/mob/living/carbon/human/human_movement.dm

Co-Authored-By: mikomyazaki <47489928+mikomyazaki@users.noreply.github.com>
This commit is contained in:
Wowzewow (Wezzy)
2020-02-08 12:32:41 +08:00
committed by GitHub
co-authored by mikomyazaki
parent ea7dac76b6
commit da64b1f6c1
@@ -138,7 +138,11 @@
var/turf/T = loc
var/footsound
var/top_layer = 0
for(var/obj/structure/S in T)
if(S.layer > top_layer && S.footstep_sound)
top_layer = S.layer
footsound = S.footstep_sound
footsound = S.footstep_sound
if(footsound) break
if(!footsound)