Fix for borgs transformed by the Staff of Change dropping their cells and MMI on the ground.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2757 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2011-12-21 04:54:34 +00:00
parent 6e27f2e4ff
commit 6ad42b9ec2

View File

@@ -21,6 +21,8 @@
/obj/item/projectile/change/proc/wabbajack (mob/M as mob in world)
if(istype(M, /mob/living) && M.stat != 2)
for(var/obj/item/W in M)
if (istype(W, /obj/item/weapon/implant)||istype(W, /obj/item/weapon/cell)||istype(W, /obj/item/device/mmi))
del (W)
M.drop_from_slot(W)
var/randomize = pick("monkey","robot","metroid","alien","human")
switch(randomize)