Merge pull request #33484 from vuonojenmustaturska/eminencefix

Fixes glass shard/bananium floor behavior for cameras and ghosts
This commit is contained in:
Jordan Brown
2017-12-13 10:13:02 -05:00
committed by CitadelStationBot
parent a5cd43ae61
commit 057d05df91
2 changed files with 4 additions and 4 deletions
@@ -251,7 +251,7 @@ GLOBAL_LIST_INIT(prglass_recipes, list ( \
else
return ..()
/obj/item/shard/Crossed(mob/AM)
if(istype(AM) && has_gravity(loc))
/obj/item/shard/Crossed(mob/living/L)
if(istype(L) && has_gravity(loc))
playsound(loc, 'sound/effects/glass_step.ogg', 50, 1)
. = ..()