Processing Audit Part 1 (#22803)

Oh look at that, every modular computer in existence was always
processing at all times, regardless of if it was actually needed.
There's a couple more small examples I caught in my first pass, but all
of the rest are very low incidence. There are of course a very large
number of modular computers at any one point in time.
This commit is contained in:
VMSolidus
2026-07-09 21:03:42 +00:00
committed by GitHub
parent 25d8b2e6ae
commit 30fb0f69a0
7 changed files with 22 additions and 29 deletions
@@ -29,8 +29,6 @@
firemodes = list()
modifystate = null
var/does_process = TRUE
matter = null
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 2, TECH_MAGNET = 3, TECH_ARCANE = 2, TECH_ILLEGAL = 3)
@@ -40,15 +38,6 @@
. += ..()
. += "This weapon can be recharged by clicking on blood or remains with it. Remains recharge more than simple blood."
/obj/item/gun/energy/rifle/cult/Initialize()
. = ..()
if(does_process)
START_PROCESSING(SSprocessing, src)
/obj/item/gun/energy/rifle/cult/Destroy()
STOP_PROCESSING(SSprocessing, src)
return ..()
/obj/item/gun/energy/rifle/cult/afterattack(atom/A, mob/living/user, adjacent, params)
if(adjacent && iscultist(user))
if(istype(A, /obj/effect/decal/remains) || istype(A, /obj/effect/decal/cleanable/blood))
@@ -76,5 +65,4 @@
use_external_power = TRUE
self_recharge = TRUE
has_safety = FALSE
does_process = FALSE
projectile_type = /obj/projectile/bullet/shard/heavy