Merge pull request #7437 from VOREStation/upstream-merge-7025

[MIRROR] Removes stray unused variable that triggered a compile warning
This commit is contained in:
Aronai Sieyes
2020-04-26 11:32:32 -04:00
committed by GitHub
+5 -5
View File
@@ -371,13 +371,13 @@
//Find our spawning point.
var/list/join_props = job_master.LateSpawn(client, rank)
if(!join_props)
return
var/turf/T = join_props["turf"]
var/join_message = join_props["msg"]
var/announce_channel = join_props["channel"] || "Common"
var/announce_channel = join_props["channel"] || "Common" // VOREStation Add
if(!T || !join_message)
return 0
@@ -459,7 +459,7 @@
dat += "Choose from the following open/valid positions:<br>"
dat += "<a href='byond://?src=\ref[src];hidden_jobs=1'>[show_hidden_jobs ? "Hide":"Show"] Hidden Jobs.</a><br>"
var/deferred = ""
for(var/datum/job/job in job_master.occupations)
if(job && IsJobAvailable(job.title))
@@ -476,9 +476,9 @@
// 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.mind.assigned_role == job.title && M.client.inactivity <= 10 MINUTES)
active++
var/string = "<a href='byond://?src=\ref[src];SelectedJob=[job.title]'>[job.title] ([job.current_positions]) (Active: [active])</a><br>"
if(job.offmap_spawn) //At the bottom
deferred += string
else