diff options
| author | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-07-12 22:57:54 +0000 |
|---|---|---|
| committer | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-07-12 22:57:54 +0000 |
| commit | 621aa1adacec2bcc6befb1a4a70eff7c0e46e7b6 (patch) | |
| tree | 526334c2d084f3ea4ba36f3fc2cc346be82ea6fb | |
| parent | a504ca7f9ac40228ff5d67d7753cccc7a903599b (diff) | |
| parent | b15c6f15f0b13bce4ef7305efa08c1d257401def (diff) | |
Merge branch 'fix82' into 'master'
Fix bug #82 causing a client crash if /save_case was used without providing a courtroom state
Closes #82
See merge request AttorneyOnline/AO2-Client!74
| -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 344516a..3d812e0 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(); |
