POLARIS: Communicator small refactor

This commit is contained in:
Arokha Sieyes
2018-03-21 14:30:43 -04:00
committed by Leshana
parent c492d1a21b
commit cad8df658e
4 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -258,7 +258,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