mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
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:
committed by
AnturK
parent
c480ad71ee
commit
0d6bbbb412
@@ -132,7 +132,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
|
||||
flood_turfs += get_turf(src.loc)
|
||||
if(target.client) target.client.images |= flood_images
|
||||
next_expand = world.time + FAKE_FLOOD_EXPAND_TIME
|
||||
SSobj.processing |= src
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/effect/hallucination/fake_flood/process()
|
||||
if(next_expand <= world.time)
|
||||
@@ -153,7 +153,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
|
||||
target.client.images |= flood_images
|
||||
|
||||
/obj/effect/hallucination/fake_flood/Destroy()
|
||||
SSobj.processing.Remove(src)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
qdel(flood_turfs)
|
||||
flood_turfs = list()
|
||||
if(target.client)
|
||||
|
||||
Reference in New Issue
Block a user