From dd10547505fd0a60ec4f965a9ededb9addcd04f6 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sat, 23 May 2026 17:18:15 +0200 Subject: [PATCH] Adds clownops to the ban panel, as well midround clown ops as to missing prefs checks (#96100) ## About The Pull Request Closes #96092 Also added missing midround clowns to alias/species prefs for ops ## Changelog :cl: fix: Having only midround clown ops (but not normal clown ops) enabled in antag prefs now displays operative alias/species toggles admin: Added clown ops to the ban panel /:cl: --- code/modules/admin/sql_ban_system.dm | 1 + code/modules/client/preferences/names.dm | 2 +- code/modules/client/preferences/operative_species.dm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index f9b1895e60a..81c00fc9367 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -391,6 +391,7 @@ ROLE_MALF, ROLE_NINJA, ROLE_OPERATIVE, + ROLE_CLOWN_OPERATIVE, ROLE_OVERTHROW, ROLE_PARADOX_CLONE, ROLE_REV, diff --git a/code/modules/client/preferences/names.dm b/code/modules/client/preferences/names.dm index 82d37eca072..0ef2e11c7d0 100644 --- a/code/modules/client/preferences/names.dm +++ b/code/modules/client/preferences/names.dm @@ -174,7 +174,7 @@ return FALSE // If one of the roles is ticked in the antag prefs menu, this option will show. - var/static/list/ops_roles = list(ROLE_OPERATIVE, ROLE_LONE_OPERATIVE, ROLE_OPERATIVE_MIDROUND, ROLE_CLOWN_OPERATIVE) + var/static/list/ops_roles = list(ROLE_OPERATIVE, ROLE_LONE_OPERATIVE, ROLE_OPERATIVE_MIDROUND, ROLE_CLOWN_OPERATIVE, ROLE_CLOWN_OPERATIVE_MIDROUND) if(length(ops_roles & preferences.be_special)) return TRUE diff --git a/code/modules/client/preferences/operative_species.dm b/code/modules/client/preferences/operative_species.dm index 5bee923c415..e67ffff7568 100644 --- a/code/modules/client/preferences/operative_species.dm +++ b/code/modules/client/preferences/operative_species.dm @@ -14,7 +14,7 @@ return FALSE // If one of the roles is ticked in the antag prefs menu, this option will show. - var/static/list/ops_roles = list(ROLE_OPERATIVE, ROLE_LONE_OPERATIVE, ROLE_OPERATIVE_MIDROUND, ROLE_CLOWN_OPERATIVE) + var/static/list/ops_roles = list(ROLE_OPERATIVE, ROLE_LONE_OPERATIVE, ROLE_OPERATIVE_MIDROUND, ROLE_CLOWN_OPERATIVE, ROLE_CLOWN_OPERATIVE_MIDROUND) if(length(ops_roles & preferences.be_special)) return TRUE