Fixes being able to smash grille/newscaster/mirror/lights with holo esword.

This commit is contained in:
phil235
2014-12-24 23:50:20 +01:00
parent 495604228c
commit 4374e46cdd
4 changed files with 13 additions and 21 deletions
+2
View File
@@ -192,6 +192,8 @@
health -= W.force * 0.1
else if(!shock(user, 70))
switch(W.damtype)
if(STAMINA)
return
if(BURN)
playsound(loc, 'sound/items/welder.ogg', 80, 1)
else
+2
View File
@@ -58,6 +58,8 @@
/obj/structure/mirror/attackby(obj/item/I as obj, mob/living/user as mob)
user.do_attack_animation(src)
if(I.damtype == STAMINA)
return
if(shattered)
playsound(src.loc, 'sound/effects/hit_on_shattered_glass.ogg', 70, 1)
return