diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 4034c9506a..147eee631c 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -261,7 +261,7 @@ var/mob/living/carbon/human/traitor_mob = current if (!istype(traitor_mob)) return - . = 1 + . = TRUE var/list/all_contents = traitor_mob.GetAllContents() var/obj/item/device/pda/PDA = locate() in all_contents @@ -272,6 +272,14 @@ P = locate() in PDA if (!P) // If we couldn't find a pen in the PDA, or we didn't even have a PDA, do it the old way P = locate() in all_contents + if(!P) // I do not have a pen. + var/obj/item/pen/inowhaveapen + if(istype(traitor_mob.back,/obj/item/storage)) //ok buddy you better have a backpack! + inowhaveapen = new /obj/item/pen(traitor_mob.back) + else + inowhaveapen = new /obj/item/pen(traitor_mob.loc) + traitor_mob.put_in_hands(inowhaveapen) // I hope you don't have arms and your traitor pen gets stolen for all this trouble you've caused. + P = inowhaveapen var/obj/item/uplink_loc