From af3798e8d7efdc6f04a9f6a42cf406e921bb0e1f Mon Sep 17 00:00:00 2001 From: "baloh.matevz@gmail.com" Date: Thu, 19 Apr 2012 02:18:19 +0000 Subject: [PATCH] - When the nuke disk reaches the transition edge of the map, it will now get deleted and a new one will appear at a blobstart location. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3480 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/turf.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/turf.dm b/code/game/turf.dm index 85bbe96774d..3fe78d7c037 100644 --- a/code/game/turf.dm +++ b/code/game/turf.dm @@ -1390,6 +1390,7 @@ turf/simulated/floor/return_siding_icon_state() return if(istype(A, /obj/item/weapon/disk/nuclear)) // Don't let nuke disks travel Z levels ... And moving this shit down here so it only fires when they're actually trying to change z-level. + del(A) //The disk's Del() proc ensures a new one is created return if(!isemptylist(A.search_contents_for(/obj/item/weapon/disk/nuclear)))