fixes footstep sound spam when walking against objects

This commit is contained in:
deathride58
2018-01-08 15:49:55 -05:00
parent ed2cf5e164
commit fc225d929d
+1 -1
View File
@@ -73,7 +73,7 @@ GLOBAL_LIST_INIT(turf_footstep_sounds, list(
/mob/living/Move(atom/newloc, direct)
. = ..()
if(makesfootstepsounds)
if(. && makesfootstepsounds)
CitFootstep(newloc)
//Baystation-styled tile dirtification.