mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Fixed radios not working if you have a PDA in your wear_id slot.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@597 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -28,11 +28,13 @@
|
||||
var/alt_name = ""
|
||||
if (istype(src, /mob/living/carbon/human) && src.name != src.real_name)
|
||||
if (src:wear_id)
|
||||
var/obj/item/weapon/card/id/id = src:wear_id
|
||||
var/id
|
||||
if(istype(src:wear_id, /obj/item/device/pda))
|
||||
var/obj/item/device/pda/pda = src:wear_id
|
||||
id = pda.id
|
||||
alt_name = " (as [id:registered])"
|
||||
id = pda.owner
|
||||
else
|
||||
id = src:wear_id.registered
|
||||
alt_name = " (as [id])"
|
||||
else
|
||||
alt_name = " (as Unknown)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user