cyborgs doing research is now logged IC (#62898)

AI's doing research is logged to the RD, but Cyborgs doing it just shows up as 'Unknown', which makes no sense because some AI can order a Cyborg to do research on their behalf so the RD doesn't know who did it.
It also makes the RD's job easier to find out what rogue cyborg is doing research when told not to.
This commit is contained in:
John Willard
2021-11-18 15:43:14 -05:00
committed by GitHub
parent 38071c79ab
commit 110957f7fd
2 changed files with 4 additions and 0 deletions
@@ -197,6 +197,8 @@
var/logname = "Unknown"
if(isAI(user))
logname = "AI: [user.name]"
if(iscyborg(user))
logname = "Cyborg: [user.name]"
if(iscarbon(user))
var/obj/item/card/id/idcard = user.get_active_held_item()
if(istype(idcard))