Fixes a rare case where the Malf law zero could be purged (#41673)
Fixes a rare case where the Malf law zero could be purged (#41673)

* Adding a check for when the AI is in a shell

* Update ai_laws.dm

* Forgot to remove a debug

* removed an uneeded return

* Update code/datums/ai_laws.dm

Co-Authored-By: zxaber <3b30a6974115d900f6566f5dd9e6a1192cade8bd@users.noreply.github.com>

* Update code/datums/ai_laws.dm

Co-Authored-By: zxaber <3b30a6974115d900f6566f5dd9e6a1192cade8bd@users.noreply.github.com>

Bawhoppen/-tg-station,JJRcop/-tg-station,MrStonedOne/tgstation,Bawhoppen/-tg-station,TheRealGLH/-tg-station,tgstation/tgstation,NicholasM10/-tg-station,JStheguy/tgstation,JStheguy/tgstation,Niknakflak/-tg-station,Niknakflak/-tg-station,QualityVan/tgstation,nicbn/tgstation,JJRcop/tgstation,TheVekter/-tg-station,TalkingCactus/tgstation,infinitystation/-tg-station,Incoming5643/-tg-station,Fox-McCloud/-tg-station,JJRcop/tgstation,Profakos/tgstation,Thunder12345/-tg-station,tgstation/-tg-station,Jordie0608/-tg-station,GunHog/-tg-station,infinitystation/-tg-station,xxalpha/-tg-station,Aranclanos/-tg-station,JJRcop/-tg-station,Arianya/tgstation,NicholasM10/-tg-station,Mark9013100/tgstation-m9,HippieStation/HippieStation,Poojawa/tgstation-fork,Fox-McCloud/-tg-station,CPTANT/-tg-station,CPTANT/-tg-station,optimumtact/-tg-station,AnturK/-tg-station,Cyberboss/tgstation,ShizCalev/tgstation,infinitystation/-tg-station,Profakos/tgstation,optimumtact/-tg-station,kingofkosmos/-tg-station,JStheguy/tgstation,kingofkosmos/-tg-station,Arianya/tgstation,Jordie0608/tgstation,Aranclanos/-tg-station,JJRcop/-tg-station,anconfuzedrock/tgstation,GunHog/-tg-station,JJRcop/tgstation,xxalpha/-tg-station,MrStonedOne/tgstation,tgstation/tgstation,4dplanner/tgstation,MicroWorldwide/SS13-TG-station,Poojawa/tgstation-fork,Cyberboss/tgstation,QualityVan/tgstation,AnturK/-tg-station,securitycopper/-tg-station,CPTANT/-tg-station,tgstation/tgstation,kingofkosmos/-tg-station,Niknakflak/-tg-station,securitycopper/-tg-station,Cruix/-tg-station,Arianya/tgstation,GunHog/-tg-station,tgstation/-tg-station,infinitystation/-tg-station,TheRealGLH/-tg-station,Cruix/-tg-station,Aranclanos/-tg-station,Profakos/tgstation,nicbn/tgstation,Aranclanos/-tg-station,infinitystation/-tg-station,NicholasM10/-tg-station,TheVekter/-tg-station,McBawbaggings/HippieStation,XDTM/tgstation,HippieStation/HippieStation,Aranclanos/-tg-station,TheVekter/-tg-station,TheRealGLH/-tg-station,WJohn/-tg-station,Niknakflak/-tg-station,Thunder12345/-tg-station,HippieStation/HippieStation,securitycopper/-tg-station,Cruix/-tg-station,tgstation/tgstation,AnturK/-tg-station,JJRcop/tgstation,QualityVan/tgstation,Razharas/-tg-station,securitycopper/-tg-station,Niknakflak/-tg-station,ohnopigeons/tgstation,WJohn/-tg-station,MicroWorldwide/SS13-TG-station,ShizCalev/tgstation,coiax/-tg-station,CPTANT/-tg-station,PKPenguin321/-tg-station,PKPenguin321/-tg-station,Thunder12345/-tg-station,MicroWorldwide/SS13-TG-station,Incoming5643/-tg-station,Jordie0608/-tg-station,McBawbaggings/HippieStation,TalkingCactus/tgstation,AnturK/-tg-station,NicholasM10/-tg-station,McBawbaggings/HippieStation,Cyberboss/tgstation,ohnopigeons/tgstation,kingofkosmos/-tg-station,MrStonedOne/tgstation,Razharas/-tg-station,SamuelRowe/-tg-station,tgstation/-tg-station,Poojawa/tgstation-fork,GunHog/-tg-station,tgstation/tgstation,xxalpha/-tg-station,xxalpha/-tg-station,XDTM/tgstation,optimumtact/-tg-station,SamuelRowe/-tg-station,HippieStation/HippieStation,MrStonedOne/tgstation,CPTANT/-tg-station,NicholasM10/-tg-station,TheVekter/-tg-station,Arianya/tgstation,Jordie0608/tgstation,CPTANT/-tg-station,4dplanner/tgstation,Poojawa/tgstation-fork,Niknakflak/-tg-station,Mark9013100/tgstation-m9,anconfuzedrock/tgstation,Bawhoppen/-tg-station,ohnopigeons/tgstation,AnturK/-tg-station,MicroWorldwide/SS13-TG-station,Profakos/tgstation,Bawhoppen/-tg-station,XDTM/tgstation,TheRealGLH/-tg-station,Thunder12345/-tg-station,Razharas/-tg-station,infinitystation/-tg-station,MicroWorldwide/SS13-TG-station,Fox-McCloud/-tg-station,MrStonedOne/tgstation,Profakos/tgstation,Fox-McCloud/-tg-station,JJRcop/tgstation,erwgd/-tg-station,ohnopigeons/tgstation,WJohn/-tg-station,nicbn/tgstation,NicholasM10/-tg-station,xxalpha/-tg-station,securitycopper/-tg-station,anconfuzedrock/tgstation,Jordie0608/-tg-station,optimumtact/-tg-station,Arianya/tgstation,coiax/-tg-station,XDTM/tgstation,ShizCalev/tgstation,Thunder12345/-tg-station,Bawhoppen/-tg-station,Poojawa/tgstation-fork,nicbn/tgstation,Incoming5643/-tg-station,Fox-McCloud/-tg-station,kingofkosmos/-tg-station,McBawbaggings/HippieStation,Incoming5643/-tg-station,Arianya/tgstation,TheVekter/-tg-station,XDTM/tgstation,anconfuzedrock/tgstation,Jordie0608/tgstation,AnturK/-tg-station,Mark9013100/tgstation-m9,QualityVan/tgstation,TalkingCactus/tgstation,Thunder12345/-tg-station,coiax/-tg-station,HippieStation/HippieStation,WJohn/-tg-station,erwgd/-tg-station,Razharas/-tg-station,McBawbaggings/HippieStation,Mark9013100/tgstation-m9,securitycopper/-tg-station,coiax/-tg-station,Cyberboss/tgstation,JStheguy/tgstation,PKPenguin321/-tg-station,erwgd/-tg-station,4dplanner/tgstation,CPTANT/-tg-station,GunHog/-tg-station,Mark9013100/tgstation-m9,Razharas/-tg-station,JJRcop/tgstation,anconfuzedrock/tgstation,TheVekter/-tg-station,optimumtact/-tg-station,Profakos/tgstation,QualityVan/tgstation,Cruix/-tg-station,GunHog/-tg-station,Bawhoppen/-tg-station,Aranclanos/-tg-station,AnturK/-tg-station,xxalpha/-tg-station,xxalpha/-tg-station,PKPenguin321/-tg-station,Incoming5643/-tg-station,Cyberboss/tgstation,QualityVan/tgstation,ShizCalev/tgstation,coiax/-tg-station,WJohn/-tg-station,ShizCalev/tgstation,MrStonedOne/tgstation,ShizCalev/tgstation,JStheguy/tgstation,Profakos/tgstation,nicbn/tgstation,JJRcop/-tg-station,Jordie0608/tgstation,Poojawa/tgstation-fork,Incoming5643/-tg-station,Fox-McCloud/-tg-station,MrStonedOne/tgstation,XDTM/tgstation,JStheguy/tgstation,JStheguy/tgstation,McBawbaggings/HippieStation,PKPenguin321/-tg-station,PKPenguin321/-tg-station,infinitystation/-tg-station,4dplanner/tgstation,Arianya/tgstation,tgstation/tgstation,securitycopper/-tg-station,NicholasM10/-tg-station,Cyberboss/tgstation,MicroWorldwide/SS13-TG-station,tgstation/-tg-station,Mark9013100/tgstation-m9,Thunder12345/-tg-station,nicbn/tgstation,Cruix/-tg-station,Cruix/-tg-station,Aranclanos/-tg-station,kingofkosmos/-tg-station,tgstation/tgstation,4dplanner/tgstation,Cruix/-tg-station,4dplanner/tgstation,coiax/-tg-station,Mark9013100/tgstation-m9,ShizCalev/tgstation,ShizCalev/tgstation,PKPenguin321/-tg-station,Jordie0608/tgstation,MicroWorldwide/SS13-TG-station,Jordie0608/-tg-station,Bawhoppen/-tg-station,Jordie0608/tgstation,GunHog/-tg-station,Jordie0608/tgstation,McBawbaggings/HippieStation,Jordie0608/tgstation,HippieStation/HippieStation,Razharas/-tg-station,Cyberboss/tgstation,Razharas/-tg-station,4dplanner/tgstation,Cruix/-tg-station,Incoming5643/-tg-station,Fox-McCloud/-tg-station,WJohn/-tg-station,XDTM/tgstation,infinitystation/-tg-station,Aranclanos/-tg-station,Poojawa/tgstation-fork,SamuelRowe/-tg-station,MrStonedOne/tgstation,securitycopper/-tg-station,McBawbaggings/HippieStation,tgstation/tgstation,Incoming5643/-tg-station,HippieStation/HippieStation,QualityVan/tgstation,xxalpha/-tg-station,SamuelRowe/-tg-station,anconfuzedrock/tgstation,JJRcop/tgstation,nicbn/tgstation,TalkingCactus/tgstation,TheVekter/-tg-station,4dplanner/tgstation,MicroWorldwide/SS13-TG-station,CPTANT/-tg-station,Razharas/-tg-station,optimumtact/-tg-station,anconfuzedrock/tgstation,kingofkosmos/-tg-station,NicholasM10/-tg-station,coiax/-tg-station,WJohn/-tg-station,optimumtact/-tg-station,Niknakflak/-tg-station,Bawhoppen/-tg-station,PKPenguin321/-tg-station