POLARIS: Fix emitters connected to powernet remotely.

Ensure when we unanchor an emitter that we disconnect from powernet.
This commit is contained in:
Leshana
2018-04-15 15:46:29 -04:00
parent 7e6031c2b1
commit b45e065a96

View File

@@ -165,6 +165,7 @@
"You undo the external reinforcing bolts.", \ "You undo the external reinforcing bolts.", \
"You hear a ratchet.") "You hear a ratchet.")
src.anchored = 0 src.anchored = 0
disconnect_from_network()
if(2) if(2)
user << "<span class='warning'>\The [src] needs to be unwelded from the floor.</span>" user << "<span class='warning'>\The [src] needs to be unwelded from the floor.</span>"
return return