aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-07-12 22:57:54 +0000
committeroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-07-12 22:57:54 +0000
commit621aa1adacec2bcc6befb1a4a70eff7c0e46e7b6 (patch)
tree526334c2d084f3ea4ba36f3fc2cc346be82ea6fb
parenta504ca7f9ac40228ff5d67d7753cccc7a903599b (diff)
parentb15c6f15f0b13bce4ef7305efa08c1d257401def (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.cpp2
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();