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
This commit is contained in:
commit
621aa1adac
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user