mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 17:13:46 +01:00
Missed a reference for radio devices
This commit is contained in:
@@ -819,6 +819,8 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
|
||||
listening = 0
|
||||
|
||||
/obj/item/device/radio/Destroy()
|
||||
if(radio_connection)
|
||||
radio_connection.remove_listener(src)
|
||||
if(isrobot(src.loc))
|
||||
var/mob/living/silicon/robot/R = src.loc
|
||||
R.radio = null
|
||||
|
||||
Reference in New Issue
Block a user