aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-22 17:45:49 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-29 22:22:25 +0000
commit321eed09a06113e52b29c98d3678cc8841789b05 (patch)
tree65be3e04dbc7e15700b263ca747b15628b26eb23 /src/courtroom.cpp
parentd4e99dcee4f48bcb34e6f6a38d5bae4fa380c841 (diff)
Remove clientside /pos command behavior
We have SP and JD to precisely handle positions and judge buttons.
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index df3872c..e7e377d 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -4967,20 +4967,6 @@ void Courtroom::on_ooc_return_pressed()
{
QString ooc_message = ui_ooc_chat_message->text();
- // We ignore it when the server is compatible with 2.8
- // Using an arbitrary 2.8 feature flag certainly won't cause issues someday.
- if (ooc_message.startsWith("/pos") && ao_app->m_serverdata.get_feature(server::BASE_FEATURE_SET::EFFECTS))
- {
- if (ooc_message == "/pos jud")
- {
- show_judge_controls(true);
- }
- else
- {
- show_judge_controls(false);
- }
- }
-
if (ooc_message.startsWith("/load_case"))
{
QStringList command = ooc_message.split(" ", Qt::SkipEmptyParts);