get_cell() helper (#19661)

* get_cell() helper

* what the fuck are you doing here
This commit is contained in:
jknpj
2018-09-19 07:57:23 -03:00
committed by DamianX
parent c96a9d0c76
commit ec00e3885d
24 changed files with 78 additions and 12 deletions

View File

@@ -336,7 +336,7 @@ var/global/powernets_broke = 0
cell = power_source
else if(istype(power_source, /obj/machinery/power/apc))
var/obj/machinery/power/apc/apc = power_source
cell = apc.cell
cell = apc.get_cell()
if(apc.terminal)
PN = apc.terminal.powernet