Better handling for multiple hose connectors (#17838)

* Better handling for multiple hose connectors

* Better distance handling

* Delete cell
This commit is contained in:
Will
2025-06-10 22:51:43 -04:00
committed by GitHub
parent 29e128cceb
commit 2e9b293113
5 changed files with 24 additions and 12 deletions
+4
View File
@@ -33,6 +33,10 @@
RefreshParts()
update_icon()
/obj/machinery/pump/Destroy()
QDEL_NULL(cell)
. = ..()
/obj/machinery/pump/RefreshParts()
var/obj/item/stock_parts/manipulator/SM = locate() in component_parts
active_power_usage = initial(active_power_usage) / SM.rating