mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 11:02:08 +00:00
Added apprentice alt-titles for Security and Engineering (#16917)
* Added apprentice alt-titles for Security and Engineering * CL * Update html/changelogs/GeneralCamo - Cadet Alt Titles.yml * Fix build * Added age restrictions for intern alt-titles per code review * Fix missing parameter in character setup (broke per-species alt title age restrictions)
This commit is contained in:
@@ -482,7 +482,7 @@
|
||||
if((global.all_species[src.species].spawn_flags & NO_AGE_MINIMUM))
|
||||
return choices
|
||||
for(var/t in choices)
|
||||
if (src.age >= (job.get_alt_character_age(t) || job.get_minimum_character_age(species)))
|
||||
if (src.age >= (job.get_alt_character_age(species, t) || job.get_minimum_character_age(species)))
|
||||
continue
|
||||
choices -= t
|
||||
return choices
|
||||
|
||||
Reference in New Issue
Block a user