Fixes hivenet not being blocked by radio jammers (#7859)

This commit is contained in:
Geeves
2019-12-30 22:04:02 +01:00
committed by Matt Atlas
parent 2f77ee2cfe
commit 1c15971f80
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -186,6 +186,9 @@ proc/get_radio_key_from_channel(var/channel)
// This is broadcast to all mobs with the language,
// irrespective of distance or anything else.
if(speaking && (speaking.flags & HIVEMIND))
if(speaking.name == LANGUAGE_VAURCA && within_jamming_range(src))
to_chat(src, span("warning", "Your head buzzes as your message is blocked with jamming signals."))
return
speaking.broadcast(src,trim(message))
return 1