mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
@@ -70,10 +70,7 @@
|
||||
|
||||
if(mind)
|
||||
var/datum/role/mastermalf //Workaround for shelled AIs causing runtimes
|
||||
if(connected_ai.deployed)
|
||||
mastermalf = connected_ai.shell.mind.GetRole(MALF)
|
||||
else
|
||||
mastermalf = connected_ai.mind.GetRole(MALF)
|
||||
mastermalf = connected_ai.shell.mind.GetRole(MALF) || connected_ai.mind.GetRole(MALF)
|
||||
if(mastermalf)
|
||||
var/datum/faction/my_new_faction = mastermalf.faction
|
||||
my_new_faction.HandleRecruitedMind(mind)
|
||||
|
||||
Reference in New Issue
Block a user