diff options
| author | Windrammer <team.drift86@gmail.com> | 2019-07-11 09:05:26 -0600 |
|---|---|---|
| committer | Windrammer <team.drift86@gmail.com> | 2019-07-11 09:05:26 -0600 |
| commit | b15c6f15f0b13bce4ef7305efa08c1d257401def (patch) | |
| tree | 526334c2d084f3ea4ba36f3fc2cc346be82ea6fb | |
| parent | a504ca7f9ac40228ff5d67d7753cccc7a903599b (diff) | |
Fix bug #82 causing a client crash if /save_case was used without providing a courtroom state
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 344516a5..3d812e05 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2884,7 +2884,7 @@ void Courtroom::on_ooc_return_pressed() caseslist.removeOne(".."); caseslist.replaceInStrings(".ini",""); - if (command.size() < 2) + if (command.size() < 3) { append_server_chatmessage("CLIENT", "You need to give a filename to save (extension not needed) and the courtroom status!", "1"); ui_ooc_chat_message->clear(); |
