Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-23-10-2025

This commit is contained in:
Roxy
2025-10-23 17:38:23 -04:00
453 changed files with 20635 additions and 15897 deletions
@@ -149,11 +149,12 @@ GLOBAL_LIST_INIT(non_ruleset_antagonists, list(
for (var/datum/dynamic_ruleset/ruleset as anything in subtypesof(/datum/dynamic_ruleset))
var/datum/antagonist/antagonist_type = initial(ruleset.preview_antag_datum)
var/antag_flag = initial(ruleset.pref_flag)
if (isnull(antagonist_type) || isnull(antag_flag))
if(isnull(antagonist_type) || isnull(antag_flag))
continue
// antag_flag is guaranteed to be unique by unit tests.
antagonists[initial(ruleset.pref_flag)] = antagonist_type
// antag_flag is guaranteed to be unique for all non-RULESET_VARIATION rulesets
// the ||= covers specifically those rulesets - prefer the first one over variations
antagonists[initial(ruleset.pref_flag)] ||= antagonist_type
var/list/generated_icons = list()