Fixes plumbing ducts having weird shadows (#96102)

## About The Pull Request

UPDATE_ICON is needed rather than UPDATE_ICON_STATE to update the
emissive blocker
Closes #96076

## Changelog
🆑
fix: Fixed plumbing ducts having weird shadows
/🆑
This commit is contained in:
SmArtKar
2026-05-23 17:17:12 +02:00
committed by GitHub
parent c1c830a98c
commit cc34f01082
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -100,7 +100,7 @@
if(istype(duct))
if(duct.neighbours && (duct.duct_layer & ducting_layer))
duct.neighbours[parent] = opposite_dir
duct.update_appearance(UPDATE_ICON_STATE)
duct.update_appearance(UPDATE_ICON)
duct.net.add_plumber(src, direction)
continue
@@ -123,7 +123,7 @@
for(var/obj/machinery/duct/pipe as anything in net.ducts)
if(pipe.neighbours[parent])
pipe.neighbours -= parent
pipe.update_appearance(UPDATE_ICON_STATE)
pipe.update_appearance(UPDATE_ICON)
//remove ourself from this network and delete it if emtpy
if(net.remove_plumber(src))