[MIRROR] fixes shield capacitors taking power when unanchored (#10338)

Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-09 16:11:48 -07:00
committed by GitHub
parent ec2cd219b4
commit 075b5ce8d1

View File

@@ -101,7 +101,7 @@
var/datum/powernet/PN
var/turf/T = get_turf(src)
var/obj/structure/cable/C = T.get_cable_node()
if (C)
if (C && anchored) //Make sure its anchored too.
PN = C.powernet
if (PN)