mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] fixes shield capacitors taking power when unanchored (#10338)
Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ec2cd219b4
commit
075b5ce8d1
@@ -101,7 +101,7 @@
|
|||||||
var/datum/powernet/PN
|
var/datum/powernet/PN
|
||||||
var/turf/T = get_turf(src)
|
var/turf/T = get_turf(src)
|
||||||
var/obj/structure/cable/C = T.get_cable_node()
|
var/obj/structure/cable/C = T.get_cable_node()
|
||||||
if (C)
|
if (C && anchored) //Make sure its anchored too.
|
||||||
PN = C.powernet
|
PN = C.powernet
|
||||||
|
|
||||||
if (PN)
|
if (PN)
|
||||||
|
|||||||
Reference in New Issue
Block a user