Fixes the spy bug's radio function (#10284)

What it says in the title. It also buffs the hearing range of the bug, so it is not totally useless.
This commit is contained in:
Alberyk
2020-10-18 05:29:06 -03:00
committed by GitHub
parent f31742a596
commit 08b52069fc
2 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -36,6 +36,8 @@
to_chat(user, "Needs to be both configured and brought in contact with monitor device to be fully functional.")
/obj/item/device/spy_bug/attack_self(mob/user)
radio.broadcasting = !radio.broadcasting
to_chat(user, "\The [src]'s radio is [radio.broadcasting ? "broadcasting" : "not broadcasting"] now. The current frequency is [radio.frequency].")
radio.attack_self(user)
/obj/item/device/spy_bug/attackby(obj/W as obj, mob/living/user as mob)
@@ -159,6 +161,6 @@
listening = FALSE
frequency = 1473
broadcasting = FALSE
canhear_range = 1
canhear_range = 7
name = "spy device"
icon_state = "syn_cypherkey"