From 6940802faf6eb4e41c27eddf9193cce3e8f3bb59 Mon Sep 17 00:00:00 2001 From: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com> Date: Tue, 1 Jun 2021 01:42:33 -0400 Subject: [PATCH] Ion storm mild code improvements (#59400) * makes-ion-storm-not-use-see_in_dark * did i really mess something as simple as this up * Update code/modules/events/ion_storm.dm Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/modules/events/ion_storm.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/events/ion_storm.dm b/code/modules/events/ion_storm.dm index 222ec7b04df..f938838a3ba 100644 --- a/code/modules/events/ion_storm.dm +++ b/code/modules/events/ion_storm.dm @@ -30,7 +30,7 @@ //AI laws for(var/mob/living/silicon/ai/M in GLOB.alive_mob_list) M.laws_sanity_check() - if(M.stat != DEAD && M.see_in_dark != 0) + if(M.stat != DEAD && !M.incapacitated()) if(prob(replaceLawsetChance)) M.laws.pick_weighted_lawset()