mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 09:14:17 +00:00
Pass 3
This commit is contained in:
@@ -49,10 +49,10 @@ obj/machinery/atmospherics/binary
|
|||||||
|
|
||||||
if(node1)
|
if(node1)
|
||||||
node1.disconnect(src)
|
node1.disconnect(src)
|
||||||
del(network1)
|
qdel(network1)
|
||||||
if(node2)
|
if(node2)
|
||||||
node2.disconnect(src)
|
node2.disconnect(src)
|
||||||
del(network2)
|
qdel(network2)
|
||||||
|
|
||||||
node1 = null
|
node1 = null
|
||||||
node2 = null
|
node2 = null
|
||||||
|
|||||||
@@ -229,7 +229,7 @@
|
|||||||
for(var/datum/omni_port/P in ports)
|
for(var/datum/omni_port/P in ports)
|
||||||
if(P.node)
|
if(P.node)
|
||||||
P.node.disconnect(src)
|
P.node.disconnect(src)
|
||||||
del(P.network)
|
qdel(P.network)
|
||||||
P.node = null
|
P.node = null
|
||||||
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
if(node)
|
if(node)
|
||||||
node.disconnect(src)
|
node.disconnect(src)
|
||||||
del(network)
|
qdel(network)
|
||||||
|
|
||||||
node = null
|
node = null
|
||||||
|
|
||||||
|
|||||||
@@ -59,13 +59,13 @@ obj/machinery/atmospherics/trinary
|
|||||||
|
|
||||||
if(node1)
|
if(node1)
|
||||||
node1.disconnect(src)
|
node1.disconnect(src)
|
||||||
del(network1)
|
qdel(network1)
|
||||||
if(node2)
|
if(node2)
|
||||||
node2.disconnect(src)
|
node2.disconnect(src)
|
||||||
del(network2)
|
qdel(network2)
|
||||||
if(node3)
|
if(node3)
|
||||||
node3.disconnect(src)
|
node3.disconnect(src)
|
||||||
del(network3)
|
qdel(network3)
|
||||||
|
|
||||||
node1 = null
|
node1 = null
|
||||||
node2 = null
|
node2 = null
|
||||||
|
|||||||
@@ -106,13 +106,13 @@
|
|||||||
|
|
||||||
if(node1)
|
if(node1)
|
||||||
node1.disconnect(src)
|
node1.disconnect(src)
|
||||||
del(network_node1)
|
qdel(network_node1)
|
||||||
if(node2)
|
if(node2)
|
||||||
node2.disconnect(src)
|
node2.disconnect(src)
|
||||||
del(network_node2)
|
qdel(network_node2)
|
||||||
if(node3)
|
if(node3)
|
||||||
node3.disconnect(src)
|
node3.disconnect(src)
|
||||||
del(network_node3)
|
qdel(network_node3)
|
||||||
|
|
||||||
node1 = null
|
node1 = null
|
||||||
node2 = null
|
node2 = null
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
if(node)
|
if(node)
|
||||||
node.disconnect(src)
|
node.disconnect(src)
|
||||||
del(network)
|
qdel(network)
|
||||||
|
|
||||||
node = null
|
node = null
|
||||||
|
|
||||||
|
|||||||
@@ -80,10 +80,10 @@
|
|||||||
|
|
||||||
if(node1)
|
if(node1)
|
||||||
node1.disconnect(src)
|
node1.disconnect(src)
|
||||||
del(network_node1)
|
qdel(network_node1)
|
||||||
if(node2)
|
if(node2)
|
||||||
node2.disconnect(src)
|
node2.disconnect(src)
|
||||||
del(network_node2)
|
qdel(network_node2)
|
||||||
|
|
||||||
node1 = null
|
node1 = null
|
||||||
node2 = null
|
node2 = null
|
||||||
|
|||||||
@@ -12,11 +12,11 @@ datum/pipeline
|
|||||||
|
|
||||||
Destroy()
|
Destroy()
|
||||||
if(network)
|
if(network)
|
||||||
del(network)
|
qdel(network)
|
||||||
|
|
||||||
if(air && air.volume)
|
if(air && air.volume)
|
||||||
temporarily_store_air()
|
temporarily_store_air()
|
||||||
del(air)
|
qdel(air)
|
||||||
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/machinery/atmospherics/pipe/Destroy()
|
/obj/machinery/atmospherics/pipe/Destroy()
|
||||||
del(parent)
|
qdel(parent)
|
||||||
if(air_temporary && loc)
|
if(air_temporary && loc)
|
||||||
loc.assume_air(air_temporary)
|
loc.assume_air(air_temporary)
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
Destroy()
|
Destroy()
|
||||||
blob_cores -= src
|
blob_cores -= src
|
||||||
if(overmind)
|
if(overmind)
|
||||||
del(overmind)
|
qdel(overmind)
|
||||||
processing_objects.Remove(src)
|
processing_objects.Remove(src)
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
/mob/camera/blob/Destroy()
|
/mob/camera/blob/Destroy()
|
||||||
if (ghostimage)
|
if (ghostimage)
|
||||||
ghost_darkness_images -= ghostimage
|
ghost_darkness_images -= ghostimage
|
||||||
del(ghostimage)
|
qdel(ghostimage)
|
||||||
ghostimage = null;
|
ghostimage = null;
|
||||||
updateallghostimages()
|
updateallghostimages()
|
||||||
return ..()
|
return ..()
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
Destroy()
|
Destroy()
|
||||||
active = 0
|
active = 0
|
||||||
|
the_disk = null
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
attack_self()
|
attack_self()
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
Destroy()
|
Destroy()
|
||||||
del(air_contents)
|
qdel(air_contents)
|
||||||
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
if(bug.current == src)
|
if(bug.current == src)
|
||||||
bug.current = null
|
bug.current = null
|
||||||
bug = null
|
bug = null
|
||||||
del(wires)
|
qdel(wires)
|
||||||
cameranet.removeCamera(src) //Will handle removal from the camera network and the chunks, so we don't need to worry about that
|
cameranet.removeCamera(src) //Will handle removal from the camera network and the chunks, so we don't need to worry about that
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
song.instrumentExt = "ogg"
|
song.instrumentExt = "ogg"
|
||||||
|
|
||||||
/obj/item/device/guitar/Destroy()
|
/obj/item/device/guitar/Destroy()
|
||||||
del(song)
|
qdel(song)
|
||||||
song = null
|
song = null
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
song.instrumentExt = "ogg"
|
song.instrumentExt = "ogg"
|
||||||
|
|
||||||
/obj/item/device/violin/Destroy()
|
/obj/item/device/violin/Destroy()
|
||||||
del(song)
|
qdel(song)
|
||||||
song = null
|
song = null
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ LIGHTERS ARE IN LIGHTERS.DM
|
|||||||
create_reagents(chem_volume) // making the cigarrete a chemical holder with a maximum volume of 30
|
create_reagents(chem_volume) // making the cigarrete a chemical holder with a maximum volume of 30
|
||||||
|
|
||||||
/obj/item/clothing/mask/cigarette/Destroy()
|
/obj/item/clothing/mask/cigarette/Destroy()
|
||||||
. = ..()
|
qdel(reagents)
|
||||||
del(reagents)
|
return ..()
|
||||||
|
|
||||||
/obj/item/clothing/mask/cigarette/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
|
/obj/item/clothing/mask/cigarette/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
|
||||||
..()
|
..()
|
||||||
|
|||||||
@@ -165,7 +165,12 @@
|
|||||||
if(on)
|
if(on)
|
||||||
var/M = get(paddles, /mob)
|
var/M = get(paddles, /mob)
|
||||||
remove_paddles(M)
|
remove_paddles(M)
|
||||||
update_icon()
|
if(paddles)
|
||||||
|
qdel(paddles)
|
||||||
|
paddles = null
|
||||||
|
if(bcell)
|
||||||
|
qdel(bcell)
|
||||||
|
bcell = null
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/item/weapon/defibrillator/proc/deductcharge(var/chrgdeductamt)
|
/obj/item/weapon/defibrillator/proc/deductcharge(var/chrgdeductamt)
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/item/weapon/storage/fancy/cigarettes/Destroy()
|
/obj/item/weapon/storage/fancy/cigarettes/Destroy()
|
||||||
del(reagents)
|
qdel(reagents)
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
/obj/item/weapon/tank/Destroy()
|
/obj/item/weapon/tank/Destroy()
|
||||||
if(air_contents)
|
if(air_contents)
|
||||||
del(air_contents)
|
qdel(air_contents)
|
||||||
|
|
||||||
processing_objects.Remove(src)
|
processing_objects.Remove(src)
|
||||||
|
|
||||||
|
|||||||
@@ -318,7 +318,7 @@
|
|||||||
icon_state = "piano"
|
icon_state = "piano"
|
||||||
|
|
||||||
/obj/structure/piano/Destroy()
|
/obj/structure/piano/Destroy()
|
||||||
del(song)
|
qdel(song)
|
||||||
song = null
|
song = null
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -1330,7 +1330,7 @@ obj/machinery/power/apc/proc/autoset(var/val, var/on)
|
|||||||
area.power_change()
|
area.power_change()
|
||||||
if(occupant)
|
if(occupant)
|
||||||
malfvacate(1)
|
malfvacate(1)
|
||||||
del(wires)
|
qdel(wires)
|
||||||
if(cell)
|
if(cell)
|
||||||
qdel(cell)
|
qdel(cell)
|
||||||
return ..()
|
return ..()
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
/obj/machinery/power/supermatter_shard/Destroy()
|
/obj/machinery/power/supermatter_shard/Destroy()
|
||||||
investigate_log("has been destroyed.", "supermatter")
|
investigate_log("has been destroyed.", "supermatter")
|
||||||
qdel(radio)
|
qdel(radio)
|
||||||
. = ..()
|
return ..()
|
||||||
|
|
||||||
/obj/machinery/power/supermatter_shard/proc/explode()
|
/obj/machinery/power/supermatter_shard/proc/explode()
|
||||||
investigate_log("has exploded.", "supermatter")
|
investigate_log("has exploded.", "supermatter")
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Destroy()
|
Destroy()
|
||||||
processing_objects.Remove(src)
|
processing_objects.Remove(src)
|
||||||
..()
|
return ..()
|
||||||
|
|
||||||
|
|
||||||
attack_self(mob/living/user as mob)
|
attack_self(mob/living/user as mob)
|
||||||
|
|||||||
Reference in New Issue
Block a user