mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-21 20:26:48 +01:00
Update code/modules/recycling/disposal.dm
Co-Authored-By: Leshana <Leshana@users.noreply.github.com>
This commit is contained in:
@@ -1321,10 +1321,8 @@
|
||||
|
||||
/obj/structure/disposalpipe/trunk/Destroy()
|
||||
if(linked)
|
||||
if(istype(linked, /obj/structure/disposaloutlet))
|
||||
var/obj/structure/disposaloutlet/D = linked
|
||||
D.trunk = null
|
||||
else if(istype(linked, /obj/machinery/disposal))
|
||||
if(istype(linked, /obj/machinery/disposal))
|
||||
|
||||
var/obj/machinery/disposal/D = linked
|
||||
D.trunk = null
|
||||
linked = null
|
||||
|
||||
Reference in New Issue
Block a user