PDA Refactor Part 1: Phantom Blood Menace

This commit is contained in:
CitadelStationBot
2017-06-23 21:59:22 -05:00
parent 161fcf69d5
commit 68d8b76dec
5 changed files with 53 additions and 71 deletions
+1 -5
View File
@@ -3,18 +3,14 @@
desc = "An electronic radio system of nanotrasen origin."
icon = 'icons/obj/module.dmi'
icon_state = "power_mod"
var/obj/item/device/pda/hostpda = null
var/on = 0 //Are we currently active??
var/menu_message = ""
/obj/item/radio/integrated/Initialize()
. = ..()
if (istype(loc.loc, /obj/item/device/pda))
hostpda = loc.loc
/obj/item/radio/integrated/Destroy()
hostpda = null
return ..()
/*
@@ -63,4 +59,4 @@
radio_connection.post_signal(src, signal)
return
return