mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 02:01:22 +00:00
that's why i waited for reviews ;_;
This commit is contained in:
@@ -297,7 +297,8 @@ SUBSYSTEM_DEF(job)
|
|||||||
|
|
||||||
// Loop through all levels from high to low
|
// Loop through all levels from high to low
|
||||||
var/list/shuffledoccupations = shuffle(occupations)
|
var/list/shuffledoccupations = shuffle(occupations)
|
||||||
for(var/level = 1 to 3)
|
var/list/levels = list(JP_HIGH,JP_MEDIUM,JP_LOW)
|
||||||
|
for(var/level in levels)
|
||||||
//Check the head jobs first each level
|
//Check the head jobs first each level
|
||||||
CheckHeadPositions(level)
|
CheckHeadPositions(level)
|
||||||
|
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
|||||||
joblessrole = sanitize_integer(joblessrole, 1, 3, initial(joblessrole))
|
joblessrole = sanitize_integer(joblessrole, 1, 3, initial(joblessrole))
|
||||||
//Validate job prefs
|
//Validate job prefs
|
||||||
for(var/j in job_preferences)
|
for(var/j in job_preferences)
|
||||||
if(job_preferences[j] != JP_LOW && job_preferences[j] != JP_MEDIUM && job_preferences[j] != JP_LOW)
|
if(job_preferences[j] != JP_LOW && job_preferences[j] != JP_MEDIUM && job_preferences[j] != JP_HIGH)
|
||||||
job_preferences -= j
|
job_preferences -= j
|
||||||
|
|
||||||
all_quirks = SANITIZE_LIST(all_quirks)
|
all_quirks = SANITIZE_LIST(all_quirks)
|
||||||
|
|||||||
Reference in New Issue
Block a user