Merge pull request #3178 from Aurorablade/insertlewdcommenthere

try to fix mindslave implant hud
This commit is contained in:
Fox McCloud
2016-01-16 20:39:57 -05:00
10 changed files with 124 additions and 17 deletions
@@ -413,8 +413,17 @@ the implant may become unstable and either pre-maturely inject the subject or si
H.mind.objectives += p
for(var/datum/objective/objective in H.mind.objectives)
H << "<B>Objective #1</B>: [objective.explanation_text]"
ticker.mode.update_traitor_icons_added(H.mind)
ticker.mode.update_traitor_icons_added(user.mind)
ticker.mode.update_traitor_icons_added(H.mind)//handles datahuds/observerhuds
if(user.mind.som)//do not add if not a traitor..and you just picked up an implanter in the hall...
var/datum/mindslaves/slaved = user.mind.som
H.mind.som = slaved
slaved.serv += H
slaved.add_serv_hud(user.mind,"syndicate")//handles master servent icons
slaved.add_serv_hud(H.mind,"mindslave")
log_admin("[ckey(user.key)] has mind-slaved [ckey(H.key)].")
return 1