mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
Merge branch 'upstream-23-10-2025'
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user