Fixed new characters unable to select a faction (#14692)

This commit is contained in:
Wildkins
2022-08-21 21:57:20 -04:00
committed by GitHub
parent e02bc16a5c
commit 0313f735be
2 changed files with 8 additions and 1 deletions

View File

@@ -426,8 +426,9 @@
var/datum/faction/faction = SSjobs.name_factions[selected_faction]
if(!istype(faction))
to_client_chat(SPAN_DANGER("Invalid faction chosen. Resetting to default."))
to_client_chat(SPAN_DANGER("Invalid faction chosen. Resetting to [SSjobs.default_faction.name]."))
selected_faction = SSjobs.default_faction.name
faction = SSjobs.name_factions[selected_faction]
dat += "</h2></center><hr/>"
dat += "<table padding='8px'>"

View File

@@ -0,0 +1,6 @@
author: JohnWildkins
delete-after: True
changes:
- bugfix: "Fixed an issue where new characters were unable to select a faction."