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