mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Fixes wrist radio issues (#12280)
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
var/ks2type = null
|
||||
var/radio_sound = null
|
||||
|
||||
var/EarSound = TRUE
|
||||
|
||||
drop_sound = 'sound/items/drop/component.ogg'
|
||||
pickup_sound = 'sound/items/pickup/component.ogg'
|
||||
|
||||
@@ -69,6 +71,8 @@
|
||||
var/mob/living/carbon/human/H = src.loc
|
||||
if(H.l_ear == src || H.r_ear == src)
|
||||
return ..(freq, level)
|
||||
if(!EarSound)
|
||||
return ..(freq, level)
|
||||
return -1
|
||||
|
||||
/obj/item/device/radio/headset/attack_hand(mob/user)
|
||||
@@ -184,6 +188,7 @@
|
||||
item_state = "wristset"
|
||||
slot_flags = SLOT_WRISTS
|
||||
canhear_range = 1
|
||||
EarSound = FALSE
|
||||
|
||||
/*
|
||||
* Civillian
|
||||
|
||||
Reference in New Issue
Block a user