stop the pills (#18703)

* RedPills Processing

Now you have to use START_PROCESSING(SSname, thing) (and STOP_PROCESSING)

* Fixes a minor bug.
This commit is contained in:
Kyle Spier-Swenson
2016-06-20 12:07:44 +02:00
committed by AnturK
parent c480ad71ee
commit 0d6bbbb412
90 changed files with 424 additions and 416 deletions
@@ -66,7 +66,7 @@
var/braindead_check = 0
/obj/structure/academy_wizard_spawner/New()
SSobj.processing |= src
START_PROCESSING(SSobj, src)
/obj/structure/academy_wizard_spawner/process()
if(next_check < world.time)
@@ -131,7 +131,7 @@
if(health<0)
visible_message("<span class='warning'>[src] breaks down!</span>")
icon_state = "forge_off"
SSobj.processing.Remove(src)
STOP_PROCESSING(SSobj, src)
broken = 1
/obj/structure/academy_wizard_spawner/attackby(obj/item/weapon/W, mob/living/user, params)