fix battle record loading

This commit is contained in:
Martin Michelsen
2023-09-25 22:37:44 -07:00
parent f036f137f7
commit b7ceeb029a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -606,7 +606,7 @@ static void server_command_playrec(shared_ptr<Client> c, const std::u16string& a
string data;
try {
string data = load_file(file_path);
data = load_file(file_path);
} catch (const cannot_open_file&) {
send_text_message(c, u"$C4The recording does\nnot exist");
return;