Fix for a rev mode bug where people in lockers would count as off the Z level.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2248 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-09-22 07:10:45 +00:00
parent c972c33d76
commit 27388d52cc
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -80,9 +80,10 @@ datum/objective/mutiny
check_completion()
if(target && target.current)
var/turf/T = get_turf(target.current)
if(target.current.stat == 2)
return 1
else if(target.current.z != 1)//If they leave the station they count as dead for this
else if((T) && (T.z != 1))//If they leave the station they count as dead for this
return 2
else
return 0
+2 -1
View File
@@ -352,10 +352,11 @@
var/list/names = new
for(var/datum/mind/i in heads)
if(i.current)
var/turf/T = get_turf(i.current)
var/hstatus = ""
if(i.current.stat == 2)
hstatus = "Dead"
else if(i.current.z != 1)
else if((T) && (T.z != 1))
hstatus = "Abandoned the station"
names += i.current.real_name + " ([hstatus])" + ((i in targets)?"(target)":"")
else