From a45a0ab7f84809bed9529a4c5b0222e3031052ec Mon Sep 17 00:00:00 2001 From: deathride58 Date: Sat, 25 Nov 2017 00:55:07 -0500 Subject: [PATCH] excuse my spaghetti code --- modular_citadel/cit_turfs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_citadel/cit_turfs.dm b/modular_citadel/cit_turfs.dm index e26de0920e..b32d41a7cd 100644 --- a/modular_citadel/cit_turfs.dm +++ b/modular_citadel/cit_turfs.dm @@ -130,7 +130,7 @@ GLOBAL_LIST_INIT(turf_footstep_sounds, list( var/objschecked for(var/atom/childobj in contents) if(childobj.footstepsoundoverride && childobj.invisibility < INVISIBILITY_MAXIMUM) - if(isfile(S.footstepsoundoverride)) + if(isfile(childobj.footstepsoundoverride)) overriddenfootstepsound = list(childobj.footstepsoundoverride) else overriddenfootstepsound = childobj.footstepsoundoverride