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>
This commit is contained in:
RandomGamer123
2021-06-01 01:42:33 -04:00
committed by GitHub
parent b5376db012
commit 6940802faf
+1 -1
View File
@@ -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()