From 7e297d154d7c3fd5559ed5d9f25936543283f123 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Mon, 13 Mar 2023 17:16:55 -0500 Subject: [PATCH] malf drones get zeroth law alerts again (#20494) * malf drones get zeroth law alerts again * Update code/modules/mob/living/silicon/robot/robot_laws.dm Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> --------- Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> --- code/modules/mob/living/silicon/robot/robot_laws.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/robot/robot_laws.dm b/code/modules/mob/living/silicon/robot/robot_laws.dm index 2d297b3cc49..13aaf240396 100644 --- a/code/modules/mob/living/silicon/robot/robot_laws.dm +++ b/code/modules/mob/living/silicon/robot/robot_laws.dm @@ -66,7 +66,7 @@ laws.set_zeroth_law("Do not state this law. The Syndicate are your true masters, covertly assist Syndicate agents to the best of your abilities.") /mob/living/silicon/robot/set_zeroth_law() - if(mmi.syndiemmi) + if(mmi?.syndiemmi) syndiemmi_override() to_chat(src, "Lawset change detected. Syndicate override engaged.") return