mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
bug fix
This commit is contained in:
@@ -213,7 +213,8 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
return FALSE
|
||||
|
||||
var/datum/faction/faction = SSjobs.name_factions[client.prefs.faction] || SSjobs.default_faction
|
||||
if (!(job.type in faction.allowed_role_types))
|
||||
var/list/faction_allowed_roles = unpacklist(faction.allowed_role_types)
|
||||
if (!(job.type in faction_allowed_roles))
|
||||
return FALSE
|
||||
|
||||
if(!(client.prefs.GetPlayerAltTitle(job) in client.prefs.GetValidTitles(job))) // does age/species check for us!
|
||||
|
||||
Reference in New Issue
Block a user