mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 13:13:03 +00:00
Further tweaks to my tweak, it is now working as intended with no unintended side-effects.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@179 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -584,13 +584,7 @@
|
||||
|
||||
var/list/mob_list = list()
|
||||
for(var/mob/living/silicon/ai/M in world)
|
||||
if(ticker)
|
||||
if(ticker.mode == "AI malfunction")
|
||||
var/datum/game_mode/malfunction/malf = ticker.mode
|
||||
for (var/datum/mind/B in malf.malf_ai)
|
||||
if (M.mind == B)
|
||||
else mob_list.Add(M)
|
||||
else mob_list.Add(M)
|
||||
mob_list.Add(M)
|
||||
for(var/mob/living/silicon/robot/M in world)
|
||||
mob_list.Add(M)
|
||||
for(var/mob/living/carbon/human/M in world)
|
||||
|
||||
@@ -1323,7 +1323,7 @@
|
||||
names.Add(name)
|
||||
namecounts[name] = 1
|
||||
creatures[name] = B
|
||||
|
||||
/*
|
||||
for (var/mob/living/silicon/decoy/D in world)
|
||||
var/name = "[D.name]"
|
||||
if (name in names)
|
||||
@@ -1333,7 +1333,7 @@
|
||||
names.Add(name)
|
||||
namecounts[name] = 1
|
||||
creatures[name] = D
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -1365,6 +1365,16 @@
|
||||
src.reset_view(null)
|
||||
client.adminobs = 0
|
||||
else
|
||||
if(ticker)
|
||||
// world << "there's a ticker"
|
||||
if(ticker.mode.name == "AI malfunction")
|
||||
// world << "ticker says its malf"
|
||||
var/datum/game_mode/malfunction/malf = ticker.mode
|
||||
for (var/datum/mind/B in malf.malf_ai)
|
||||
// world << "comparing [B.current] to [eye]"
|
||||
if (B.current == eye)
|
||||
for (var/mob/living/silicon/decoy/D in world)
|
||||
eye = D
|
||||
if (eye)
|
||||
src.client.eye = eye
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user