Merge pull request #1703 from haha26315/Game-Manifest-Silicon-Update

Fix AIs appearing in game manifest
This commit is contained in:
Dahlular
2022-09-21 00:27:03 -06:00
committed by GitHub
+9 -4
View File
@@ -146,10 +146,15 @@
//If we're getting the manifest from out of the round, add borgs to it
if(OOC)
for(var/mob/living/silicon/robot/R in GLOB.silicon_mobs)
if(!R.hack_software || R.emagged) //If they're not hacked except via emag
var name = R.name
bot[name] = "Station Cyborg"
for(var/mob/living/silicon/S in GLOB.silicon_mobs)
var name = S.name
if(istype(S, /mob/living/silicon/robot))
var/mob/living/silicon/robot/R = S
if(!R.shell && (!R.hack_software || R.emagged)) //If they're not hacked except via emag. Also ensures no duplicates due to shells
bot[name] = "Station Cyborg"
else
if(istype(S, /mob/living/silicon/ai))
bot[name] = "Station AI"
if(heads.len > 0)
dat += "<tr><th colspan=3>Heads</th></tr>"