Fixed the asimov law module, particularly when applied to a blank AIcore

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@150 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-22 23:41:24 +00:00
parent e576382d79
commit 5c73944130
3 changed files with 26 additions and 11 deletions

View File

@@ -1847,6 +1847,8 @@ var/showadminmessages = 1
/proc/checktraitor(mob/M as mob)
if(!ticker || !ticker.mode)
return 0
if (istype(M, /obj/AIcore))
return 0
switch(ticker.mode.config_tag)
if("revolution")
if(M.mind in (ticker.mode:head_revolutionaries + ticker.mode:revolutionaries))