mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Fixes some runtimes my last commit caused. Sets construct real_names so they don't mess up the show antagonist list.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3511 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
list/allwords = list("travel","self","see","hell","blood","join","tech","destroy", "other", "hide")
|
||||
|
||||
|
||||
/proc/iscultist(mob/living/carbon/M as mob)
|
||||
/proc/iscultist(mob/living/M as mob)
|
||||
return istype(M) && M.mind && ticker && ticker.mode && (M.mind in ticker.mode.cult)
|
||||
|
||||
/proc/is_convertable_to_cult(datum/mind/mind)
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
var/mob/living/simple_animal/constructarmoured/Z = new /mob/living/simple_animal/constructarmoured (get_turf(T.loc))
|
||||
if (A.client)
|
||||
A.client.mob = Z
|
||||
Z.mind_initialize(src)
|
||||
Z.mind_initialize(Z)
|
||||
if(iscultist(U))
|
||||
if (ticker.mode.name == "cult")
|
||||
ticker.mode:add_cultist(Z.mind)
|
||||
@@ -183,7 +183,7 @@
|
||||
var/mob/living/simple_animal/constructwraith/Z = new /mob/living/simple_animal/constructwraith (get_turf(T.loc))
|
||||
if (A.client)
|
||||
A.client.mob = Z
|
||||
Z.mind_initialize(src)
|
||||
Z.mind_initialize(Z)
|
||||
if(iscultist(U))
|
||||
if (ticker.mode.name == "cult")
|
||||
ticker.mode:add_cultist(Z.mind)
|
||||
@@ -200,7 +200,7 @@
|
||||
var/mob/living/simple_animal/constructbuilder/Z = new /mob/living/simple_animal/constructbuilder (get_turf(T.loc))
|
||||
if (A.client)
|
||||
A.client.mob = Z
|
||||
Z.mind_initialize(src)
|
||||
Z.mind_initialize(Z)
|
||||
if(iscultist(U))
|
||||
if (ticker.mode.name == "cult")
|
||||
ticker.mode:add_cultist(Z.mind)
|
||||
|
||||
Reference in New Issue
Block a user