Adds Randomized Character Slot, if enabled picks a random populated character slot to use upon round start. Does not affect late joins for now.

Conflicts:
	code/modules/client/preferences.dm
	code/modules/client/preferences_savefile.dm
	html/changelog.html
This commit is contained in:
d3athrow
2014-01-15 15:59:10 -06:00
committed by ZomgPonies
parent b80552169c
commit c8ceab5aa2
3 changed files with 141 additions and 18 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ var/global/datum/controller/occupations/job_master
for(var/mob/new_player/player in player_list)
if(player.ready && player.mind && !player.mind.assigned_role)
unassigned += player
if(player.client.prefs.randomslot) player.client.prefs.random_character()
Debug("DO, Len: [unassigned.len]")
if(unassigned.len == 0) return 0