mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user