Fix two compile errors.

This commit is contained in:
cib
2012-12-24 21:07:04 +01:00
parent 9ccfe7e310
commit 03b52e77e6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
// Without enough blood you slowly go hungry.
if(blood_volume < BLOOD_VOLUME_SAFE)
if(nutrition >= 300)
nutrution -= 10
nutrition -= 10
else if(nutrition >= 200)
nutrition -= 3
+1 -1
View File
@@ -396,7 +396,7 @@
if(job && IsJobAvailable(job.title))
var/active = 0
// Only players with the job assigned and AFK for less than 10 minutes count as active
for(var/mob/M in player_list) if(M.mind && M.client && M.assigned_job == job && M.client.inactivity <= 10 * 60 * 10)
for(var/mob/M in player_list) if(M.mind && M.client && M.mind.assigned_job == job && M.client.inactivity <= 10 * 60 * 10)
active++
dat += "<a href='byond://?src=\ref[src];SelectedJob=[job.title]'>[job.title] ([job.current_positions]) (Active: [active])</a><br>"