mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Fixes admins not being able to force some rulesets with Stationwide Background Checks station trait (#28059)
* Fixes admins not being able to force some rulesets with Stationwide Background Checks station trait * Update dynamic.dm --------- Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
@@ -665,9 +665,6 @@ SUBSYSTEM_DEF(dynamic)
|
||||
if (initial(ruleset_type.weight) == 0)
|
||||
continue
|
||||
|
||||
if(!(initial(ruleset_type.ruleset_category) & GLOB.dynamic_ruleset_categories))
|
||||
continue
|
||||
|
||||
var/ruleset = new ruleset_type
|
||||
configure_ruleset(ruleset)
|
||||
rulesets += ruleset
|
||||
@@ -959,6 +956,8 @@ SUBSYSTEM_DEF(dynamic)
|
||||
else
|
||||
ruleset.restricted_roles |= initial(iterating_job.title)
|
||||
// SKYRAT EDIT END
|
||||
if(!(ruleset.ruleset_category & GLOB.dynamic_ruleset_categories))
|
||||
ruleset.requirements = list(101,101,101,101,101,101,101,101,101,101)
|
||||
|
||||
/// Get station traits and call for their config
|
||||
/datum/controller/subsystem/dynamic/proc/configure_station_trait_costs()
|
||||
|
||||
Reference in New Issue
Block a user