mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
@@ -35,6 +35,9 @@
|
|||||||
/obj/machinery/power/smes/New()
|
/obj/machinery/power/smes/New()
|
||||||
..()
|
..()
|
||||||
spawn(5)
|
spawn(5)
|
||||||
|
if(!powernet)
|
||||||
|
connect_to_network()
|
||||||
|
|
||||||
dir_loop:
|
dir_loop:
|
||||||
for(var/d in cardinal)
|
for(var/d in cardinal)
|
||||||
var/turf/T = get_step(src, d)
|
var/turf/T = get_step(src, d)
|
||||||
@@ -46,6 +49,8 @@
|
|||||||
stat |= BROKEN
|
stat |= BROKEN
|
||||||
return
|
return
|
||||||
terminal.master = src
|
terminal.master = src
|
||||||
|
if(!terminal.powernet)
|
||||||
|
terminal.connect_to_network()
|
||||||
updateicon()
|
updateicon()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user