mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user