From ce5ccc8498a0d11c07db860f513ef4beb4549587 Mon Sep 17 00:00:00 2001 From: Emmett Gaines Date: Fri, 27 Apr 2018 14:03:46 -0400 Subject: [PATCH] Removes the signals on process procs (#37461) --- code/__DEFINES/components.dm | 4 ---- code/controllers/subsystem/air.dm | 1 - code/controllers/subsystem/machines.dm | 1 - 3 files changed, 6 deletions(-) diff --git a/code/__DEFINES/components.dm b/code/__DEFINES/components.dm index f47309dd73..8e5044e460 100644 --- a/code/__DEFINES/components.dm +++ b/code/__DEFINES/components.dm @@ -100,10 +100,6 @@ // /obj/item/clothing signals #define COMSIG_SHOES_STEP_ACTION "shoes_step_action" //from base of obj/item/clothing/shoes/proc/step_action(): () -// /obj/machinery signals -#define COMSIG_MACHINE_PROCESS "machine_process" //from machinery subsystem fire(): () -#define COMSIG_MACHINE_PROCESS_ATMOS "machine_process_atmos" //from air subsystem process_atmos_machinery(): () - // /mob/living/carbon/human signals #define COMSIG_HUMAN_MELEE_UNARMED_ATTACK "human_melee_unarmed_attack" //from mob/living/carbon/human/UnarmedAttack(): (atom/target) #define COMSIG_HUMAN_MELEE_UNARMED_ATTACKBY "human_melee_unarmed_attackby" //from mob/living/carbon/human/UnarmedAttack(): (mob/living/carbon/human/attacker) diff --git a/code/controllers/subsystem/air.dm b/code/controllers/subsystem/air.dm index 9f366d5c37..ce4e6ee271 100644 --- a/code/controllers/subsystem/air.dm +++ b/code/controllers/subsystem/air.dm @@ -165,7 +165,6 @@ SUBSYSTEM_DEF(air) currentrun.len-- if(!M || (M.process_atmos(seconds) == PROCESS_KILL)) atmos_machinery.Remove(M) - M.SendSignal(COMSIG_MACHINE_PROCESS_ATMOS) if(MC_TICK_CHECK) return diff --git a/code/controllers/subsystem/machines.dm b/code/controllers/subsystem/machines.dm index e235afaaa4..eab61d4ef9 100644 --- a/code/controllers/subsystem/machines.dm +++ b/code/controllers/subsystem/machines.dm @@ -40,7 +40,6 @@ SUBSYSTEM_DEF(machines) var/obj/machinery/thing = currentrun[currentrun.len] currentrun.len-- if(!QDELETED(thing) && thing.process(seconds) != PROCESS_KILL) - thing.SendSignal(COMSIG_MACHINE_PROCESS) if(thing.use_power) thing.auto_use_power() //add back the power state else