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