mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Major UT Overhaul (#16544)
* Removes old UT definition files (drone/travis) * Adds concurrency definitions to the workflows * Changes our workflows to be more in line with what /tg does * Adds a workflow to build/commit TGUI * Adds a workflow to build/commit changelogs Add python version to dependencies.sh Fix dme errors Removes a bunch of not included files Cache Opendream and add directory to check_grep.py Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#define LISTENER_MODULAR_COMPUTER "modular_computers"
|
||||
|
||||
/obj/item/modular_computer/process()
|
||||
if(!enabled) // The computer is turned off
|
||||
last_power_usage = 0
|
||||
@@ -95,7 +93,7 @@
|
||||
if(looping_sound)
|
||||
soundloop = new(src, enabled)
|
||||
initial_name = name
|
||||
listener = new(LISTENER_MODULAR_COMPUTER, src)
|
||||
listener = new("modular_computers", src)
|
||||
|
||||
/obj/item/modular_computer/Destroy()
|
||||
kill_program(TRUE)
|
||||
|
||||
@@ -247,7 +247,7 @@ var/last_message_id = 0
|
||||
for (var/datum/comm_message_listener/l in comm_message_listeners)
|
||||
l.Add(message)
|
||||
|
||||
for (var/obj/item/modular_computer/computer in get_listeners_by_type(LISTENER_MODULAR_COMPUTER, /obj/item/modular_computer))
|
||||
for (var/obj/item/modular_computer/computer in get_listeners_by_type("modular_computers", /obj/item/modular_computer))
|
||||
if(computer?.working && !!computer.nano_printer && computer.hard_drive?.stored_files.len)
|
||||
var/datum/computer_file/program/comm/C = locate(/datum/computer_file/program/comm) in computer.hard_drive.stored_files
|
||||
if(C?.intercept)
|
||||
|
||||
Reference in New Issue
Block a user