excuse my spaghetti code

This commit is contained in:
deathride58
2017-11-25 00:55:07 -05:00
parent 41d4dad8fa
commit a45a0ab7f8
+1 -1
View File
@@ -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