Disposal unit - TGUI refactor (#20982)

Refactors Disposal Unit UI to use TGUI. Fixes
https://github.com/Aurorastation/Aurora.3/issues/20912
This commit is contained in:
Batrachophreno
2025-07-21 19:12:51 +00:00
committed by GitHub
parent 837737e108
commit de7c157d94
4 changed files with 474 additions and 279 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -337,7 +337,7 @@
INVOKE_ASYNC(src, PROC_REF(flush))
/obj/machinery/disposal/deliveryChute/flush()
flushing = 1
flushing = TRUE
flick("intake-closing", src)
var/obj/disposalholder/H = new() // virtual holder object which actually
// travels through the pipes.
@@ -350,7 +350,7 @@
H.init(src) // copy the contents of disposer to holder
H.start(src) // start the holder processing movement
flushing = 0
flushing = FALSE
// now reset disposal state
flush = 0
if(mode == 2) // if was ready,