mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
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:
+341
-277
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user