Skip to content

Commit

Permalink
Refactor Disposals and remove Atmos Interactions (#5480)
Browse files Browse the repository at this point in the history
* Clean up disposals code

* Remove atmos interactions from disposals, misc fixes
  • Loading branch information
ShadowLarkens authored Jun 25, 2024
1 parent 73187c4 commit 43f71e2
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 408 deletions.
1 change: 0 additions & 1 deletion code/modules/genetics/machinery/genetics_cloner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ This makes cloning vat is probably the most dangerous tool in Genetics. Because
/obj/machinery/genetics/cloner/proc/init_disposal_holder()
var/obj/structure/disposalholder/holder = new()

holder.gas = air_contents// transfer gas resv. into holder object -- let's be explicit about the data this proc consumes, please.
holder.from_cloner = TRUE

//Check for any living mobs trigger hasmob.
Expand Down
2 changes: 1 addition & 1 deletion code/modules/recycling/disposal-construction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
P.base_icon_state = base_state
P.set_dir(dir)
P.pipe_dir = pipe_dir
P.updateicon()
P.update_icon()

//Needs some special treatment ;)
if(pipe_type in list(PIPE_TYPE_JUNC_SORT, PIPE_TYPE_JUNC_SORT_FLIP))
Expand Down
Loading

0 comments on commit 43f71e2

Please sign in to comment.