From 62bc669d0619a9c4cdcdd61d729dfe7cb368f0cb Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:12:14 -0700 Subject: [PATCH] fixes CI (#6347) Co-authored-by: silicons --- code/game/objects/random/mob.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/random/mob.dm b/code/game/objects/random/mob.dm index 5149dd3cc2f..887b0d19057 100644 --- a/code/game/objects/random/mob.dm +++ b/code/game/objects/random/mob.dm @@ -41,7 +41,8 @@ var/build_path = item_to_spawn() var/mob/living/simple_mob/M = new build_path(src.loc) - ASSERT(istype(M)) + if(!istype(M)) + return if(M.has_AI()) var/datum/ai_holder/AI = M.ai_holder AI.go_sleep() //Don't fight eachother while we're still setting up!