diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 1393c1b2e10..5d5b3702e8a 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -769,16 +769,6 @@ // change visibility status and force update of icon /obj/structure/disposalpipe/hide(var/intact) invisibility = intact ? 101: 0 // hide if floor is intact - update_icon() - -// update actual icon_state depending on visibility -// if invisible, append "f" to icon_state to show faded version -// this will be revealed if a T-scanner is used -// if visible, use regular icon_state -/obj/structure/disposalpipe/update_icon() - icon_state = initial(icon_state) - return - // expel the held objects into a turf // called when there is a break in the pipe @@ -913,7 +903,7 @@ // called when pipe is cut with welder /obj/structure/disposalpipe/proc/welded() var/obj/structure/disposalconstruct/C = new (src.loc) - switch(initial(icon_state)) + switch(icon_state) if("pipe-s") C.ptype = 0 if("pipe-c") diff --git a/html/changelogs/Ferner-200726-bugfix_disposalpipes.yml b/html/changelogs/Ferner-200726-bugfix_disposalpipes.yml new file mode 100644 index 00000000000..7cdcc0189df --- /dev/null +++ b/html/changelogs/Ferner-200726-bugfix_disposalpipes.yml @@ -0,0 +1,4 @@ +author: Ferner +delete-after: True +changes: + - bugfix: "Fixed bent disposal pipes appearing like straight pieces, fixed disposal construction being borked." \ No newline at end of file