Backpressure surge now checks if a scrubber is welded (#24112)

* Backpressure surge now checks if a vent is welder

* Increment Endwhen if welded

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Adrer
2024-02-19 04:54:07 +01:00
committed by GitHub
parent bc5f3de1cf
commit 4e30997b5a
+5 -1
View File
@@ -17,7 +17,11 @@
/datum/event/vent_clog/tick()
if(activeFor % interval == 0)
var/obj/vent = pick_n_take(vents)
var/obj/machinery/atmospherics/unary/vent_scrubber/vent = pick_n_take(vents)
if(!vent || vent.welded)
endWhen++
return
var/list/gunk = list("water","carbon","flour","radium","toxin","cleaner","nutriment","condensedcapsaicin","psilocybin","lube",
"atrazine","banana","charcoal","space_drugs","methamphetamine","holywater","ethanol","hot_coco","facid",