euthanize morton (#522)

This commit is contained in:
in1tiate 2021-04-19 15:18:39 -05:00 committed by GitHub
parent 9b8945f21a
commit 8f0913d30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3891,14 +3891,8 @@ void Courtroom::case_called(QString msg, bool def, bool pro, bool jud, bool jur,
{ {
if (ui_casing->isChecked()) { if (ui_casing->isChecked()) {
ui_server_chatlog->append(msg); ui_server_chatlog->append(msg);
if ((ao_app->get_casing_defence_enabled() && def) || modcall_player->play(ao_app->get_court_sfx("case_call"));
(ao_app->get_casing_prosecution_enabled() && pro) || ao_app->alert(this);
(ao_app->get_casing_judge_enabled() && jud) ||
(ao_app->get_casing_juror_enabled() && jur) ||
(ao_app->get_casing_steno_enabled() && steno)) {
modcall_player->play(ao_app->get_court_sfx("case_call"));
ao_app->alert(this);
}
} }
} }