@@ -438,6 +438,7 @@ SUBSYSTEM_DEF(job)
438
438
439
439
. = assign_captain()
440
440
if (!. )
441
+ SSticker. mode. setup_error += " Failed to assign captain. See JobDebug for more information."
441
442
return FALSE
442
443
443
444
// People who wants to be the overflow role, sure, go on.
@@ -528,6 +529,7 @@ SUBSYSTEM_DEF(job)
528
529
if (! AssignRole(player, GetJobType(overflow_role))) // If everything is already filled, make them an assistant
529
530
JobDebug (" DO, Forced antagonist could not be assigned any random job or the overflow role. DivideOccupations failed." )
530
531
JobDebug (" ---------------------------------------------------" )
532
+ SSticker. mode. setup_error += " An unassigned player could not be given a random or overflow role. See JobDebug for more information."
531
533
return FALSE // Living on the edge, the forced antagonist couldn't be assigned to overflow role (bans, client age) - just reroll
532
534
533
535
JobDebug (" DO, Ending handle unrejectable unassigned" )
@@ -543,6 +545,8 @@ SUBSYSTEM_DEF(job)
543
545
we_fucked = TRUE
544
546
545
547
if (we_fucked)
548
+ JobDebug (" DO, could not fill all departments." )
549
+ SSticker. mode. setup_error += " Could not fill all required departments. See JobDebug for more information."
546
550
return FALSE
547
551
548
552
JobDebug (" DO, all departments have atleast one player." )
@@ -1076,12 +1080,12 @@ SUBSYSTEM_DEF(job)
1076
1080
for (var /rank in required_group)
1077
1081
var /datum /job/J = GetJob(rank)
1078
1082
if (! J)
1079
- SSticker. mode. setup_error = " Invalid job [ rank] in gamemode required jobs."
1083
+ SSticker. mode. setup_error + = " Invalid job [ rank] in gamemode required jobs."
1080
1084
return FALSE
1081
1085
if (J. current_positions < required_group[rank])
1082
1086
group_ok = FALSE
1083
1087
break
1084
1088
if (group_ok)
1085
1089
return TRUE
1086
- SSticker. mode. setup_error = " Required jobs not present."
1090
+ SSticker. mode. setup_error + = " Required jobs not present."
1087
1091
return FALSE
0 commit comments