mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
POLARIS: Communicator small refactor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user