Fix remaining issues and sound shit

This commit is contained in:
Tigercat2000
2016-04-05 16:26:11 -07:00
parent c72cc9606e
commit bb5e3bca63
27 changed files with 65 additions and 69 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
else
return
for(var/mob/living/K in viewers(usr))
to_chat(K, 'sound/weapons/TargetOn.ogg')
K << 'sound/weapons/TargetOn.ogg'
if(!targeted_by) targeted_by = list()
targeted_by += I
@@ -215,7 +215,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
mob/living/proc/NotTargeted(var/obj/item/weapon/gun/I)
if(!I.silenced)
for(var/mob/living/M in viewers(src))
to_chat(M, 'sound/weapons/TargetOff.ogg')
M << 'sound/weapons/TargetOff.ogg'
targeted_by -= I
I.target.Remove(src) //De-target them
if(!I.target.len)