diff --git a/code/game/objects/structures/ai_core.dm b/code/game/objects/structures/ai_core.dm index da50874df0f..6128982549b 100644 --- a/code/game/objects/structures/ai_core.dm +++ b/code/game/objects/structures/ai_core.dm @@ -352,6 +352,10 @@ ai_mob = new /mob/living/silicon/ai(loc, laws, the_brainmob) laws = null //we're giving the new AI this datum, so let's not delete it when we qdel(src) 5 lines from now + var/datum/antagonist/malf_ai/malf_datum = IS_MALF_AI(ai_mob) + if(malf_datum) + malf_datum.add_law_zero() + if(core_mmi.force_replace_ai_name) ai_mob.fully_replace_character_name(ai_mob.name, core_mmi.replacement_ai_name()) if(core_mmi.braintype == "Android")