mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 16:37:19 +01:00
Ports /tg/ spatial grid system, refactors telecomms, destroys lag (#15140)
This commit is contained in:
@@ -86,7 +86,6 @@
|
||||
|
||||
/obj/item/modular_computer/Initialize()
|
||||
. = ..()
|
||||
listener = new(LISTENER_MODULAR_COMPUTER, src)
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
install_default_hardware()
|
||||
if(hard_drive)
|
||||
@@ -104,9 +103,7 @@
|
||||
for(var/obj/item/computer_hardware/CH in src.get_all_components())
|
||||
uninstall_component(null, CH)
|
||||
qdel(CH)
|
||||
listening_objects -= src
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
QDEL_NULL(listener)
|
||||
QDEL_NULL(soundloop)
|
||||
return ..()
|
||||
|
||||
@@ -502,4 +499,4 @@
|
||||
|
||||
/obj/item/modular_computer/on_slotmove(var/mob/living/user, slot)
|
||||
. = ..(user, slot)
|
||||
BITSET(user.hud_updateflag, ID_HUD) //Same reasoning as for IDs
|
||||
BITSET(user.hud_updateflag, ID_HUD) //Same reasoning as for IDs
|
||||
|
||||
@@ -334,5 +334,4 @@
|
||||
return
|
||||
if(P.focused_conv)
|
||||
P.focused_conv.cl_send(P, text, M)
|
||||
if(listening)
|
||||
registered_message = text
|
||||
registered_message = text
|
||||
|
||||
@@ -80,9 +80,6 @@
|
||||
var/obj/item/device/paicard/personal_ai // Personal AI, can control the device via a verb when installed
|
||||
var/obj/item/computer_hardware/flashlight/flashlight
|
||||
|
||||
var/listener/listener //Listener needed for things
|
||||
|
||||
var/listening = FALSE //For listening to mob say.
|
||||
var/registered_message = ""
|
||||
|
||||
charge_failure_message = " does not have a battery installed."
|
||||
|
||||
Reference in New Issue
Block a user