silly ghosts, you do not step on glass...

This commit is contained in:
Aurorablade
2015-11-24 15:42:09 -05:00
parent 677b38304d
commit 8f3727b35d
2 changed files with 3 additions and 1 deletions
@@ -53,6 +53,8 @@
/obj/item/weapon/shard/Crossed(AM as mob|obj)
if(isliving(AM))
var/mob/living/M = AM
if (M.incorporeal_move || M.flying)//you are incorporal or flying..no shard stepping!
return
M << "\red <B>You step on \the [src]!</B>"
playsound(src.loc, 'sound/effects/glass_step.ogg', 50, 1) // not sure how to handle metal shards with sounds
if(ishuman(M))
+1 -1
View File
@@ -111,7 +111,7 @@ Works together with spawning an observer, noted above.
if(!loc) return
if(!client) return 0
regular_hud_updates()
if(client.images.len)
for(var/image/hud in client.images)
if(copytext(hud.icon_state,1,4) == "hud")