mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user