diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-22 17:45:49 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | 321eed09a06113e52b29c98d3678cc8841789b05 (patch) | |
| tree | 65be3e04dbc7e15700b263ca747b15628b26eb23 | |
| parent | d4e99dcee4f48bcb34e6f6a38d5bae4fa380c841 (diff) | |
Remove clientside /pos command behavior
We have SP and JD to precisely handle positions and judge buttons.
| -rw-r--r-- | src/courtroom.cpp | 14 |
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); |
