Fixes lastertag guns killing you if you stick it in your mouth.

This commit is contained in:
SkyMarshal
2013-09-03 22:51:37 -07:00
parent ee156376a3
commit 99bf9db04c
+2 -2
View File
@@ -187,7 +187,7 @@
else
playsound(user, fire_sound, 50, 1)
in_chamber.on_hit(M)
if (!in_chamber.nodamage)
if (in_chamber.damage_type != HALLOSS)
user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]")
user.death()
else
@@ -212,4 +212,4 @@
Fire(M,user) ///Otherwise, shoot!
return
else
return ..() //Pistolwhippin'
return ..() //Pistolwhippin'