mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-20 03:25:56 +00:00
feat(multiruleset): complete MR1.1 foundation correctness gate
This commit is contained in:
1 parent
58a99f0a6d
commit
9d135765cd
49 files changed
+2790
-700
No files matched your search
@@ -1259,7 +1259,7 @@ async fn custom_races_install(
|
||||
}),
|
||||
);
|
||||
})?;
|
||||
let enabled = ctx.root.as_ref().map_or(true, |root| {
|
||||
let enabled = ctx.root.as_ref().is_none_or(|root| {
|
||||
coa_core::modules::list(root)
|
||||
.iter()
|
||||
.any(|module| module.id == "custom-races" && module.enabled)
|
||||
|
||||
Reference in new issue
Block a user