mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
Partial fix for the immunity to flashbangs in the dark ( now only immune if in the dark AND inside a locker). Deaf people no longer see the "BANG" message of flashbangs.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
for(var/mob/living/M in L)
|
||||
bang(get_turf(M), M)
|
||||
|
||||
for(var/mob/living/M in view(7, flashbang_turf))
|
||||
for(var/mob/living/M in hearers(7, flashbang_turf))
|
||||
bang(get_turf(M), M)
|
||||
|
||||
for(var/obj/effect/blob/B in view(8,flashbang_turf)) //Blob damage here
|
||||
@@ -22,7 +22,7 @@
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weapon/grenade/flashbang/proc/bang(var/turf/T , var/mob/living/M)
|
||||
M << "<span class='warning'>BANG</span>"
|
||||
M.show_message("<span class='warning'>BANG</span>", 2)
|
||||
playsound(src.loc, 'sound/effects/bang.ogg', 25, 1)
|
||||
|
||||
//Checking for protections
|
||||
|
||||
Reference in New Issue
Block a user