This commit is contained in:
Markolie
2015-08-01 01:09:44 +02:00
parent b3b226fd59
commit 689a96f7ee
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ By design, d1 is the smallest direction and d2 is the highest
if(powernet)
cut_cable_from_powernet() // update the powernets
cable_list -= src //remove it from global cable list
..() // then go ahead and delete the cable
return ..() // then go ahead and delete the cable
///////////////////////////////////
// General procedures
+2 -2
View File
@@ -15,9 +15,9 @@
idle_power_usage = 0
active_power_usage = 0
/obj/machinery/power/Del()
/obj/machinery/power/Destroy()
disconnect_from_network()
..()
return ..()
///////////////////////////////
// General procedures
+2 -2
View File
@@ -23,7 +23,7 @@
/obj/machinery/power/tracker/Destroy()
unset_control() //remove from control computer
..()
return ..()
//set the control of the tracker to a given computer if closer than SOLAR_MAX_DIST
/obj/machinery/power/tracker/proc/set_control(var/obj/machinery/power/solar_control/SC)
@@ -70,7 +70,7 @@
S.give_glass()
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
user.visible_message("<span class='notice'>[user] takes the glass off the tracker.</span>")
del(src) // qdel
qdel(src) // qdel
return
..()