Holograms can no longer become sentient animals (#42715)

This commit is contained in:
ShizCalev
2019-02-13 12:26:50 -05:00
committed by moo
parent 0753355fb7
commit 9536991f2e
+2 -2
View File
@@ -43,7 +43,7 @@ GLOBAL_LIST_INIT(high_priority_sentience, typecacheof(list(
candidates = get_candidates(ROLE_ALIEN, null, ROLE_ALIEN)
// find our chosen mob to breathe life into
// Mobs have to be simple animals, mindless and on station
// Mobs have to be simple animals, mindless, on station, and NOT holograms.
// prioritize starter animals that people will recognise
@@ -56,7 +56,7 @@ GLOBAL_LIST_INIT(high_priority_sentience, typecacheof(list(
var/turf/T = get_turf(L)
if(!T || !is_station_level(T.z))
continue
if((L in GLOB.player_list) || L.mind)
if((L in GLOB.player_list) || L.mind || (L.flags_1 & HOLOGRAM_1))
continue
if(is_type_in_typecache(L, GLOB.high_priority_sentience))
hi_pri += L