POLARIS: Communicator small refactor

This commit is contained in:
Arokha Sieyes
2018-03-15 23:47:00 -04:00
parent b87829e4f7
commit 020c2a06f1
4 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ var/list/ai_verbs_default = list(
aiPDA.name = pickedName + " (" + aiPDA.ownjob + ")"
if(aiCommunicator)
aiCommunicator.register_device(src)
aiCommunicator.register_device(src.name)
/*
The AI Power supply is a dummy object used for powering the AI since only machinery should be using power.
@@ -210,7 +210,7 @@
/mob/living/silicon/robot/proc/setup_communicator()
if (!communicator)
communicator = new/obj/item/device/communicator/integrated(src)
communicator.register_device(src, "[modtype] [braintype]")
communicator.register_device(src.name, "[modtype] [braintype]")
//If there's an MMI in the robot, have it ejected when the mob goes away. --NEO
//Improved /N