From a4f82cd8215d6d548960d9f79ff584de73ef6645 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 4 Jun 2022 22:14:52 -0700 Subject: [PATCH] fix some error strings --- src/ReceiveCommands.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 10977823..f00bd9c7 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -585,7 +585,7 @@ void process_menu_item_info_request(shared_ptr s, shared_ptrinformation_menu_for_version(c->version)->at(cmd.item_id + 1).description.c_str()); } catch (const out_of_range&) { - send_ship_info(c, u"$C6No such information exists."); + send_ship_info(c, u"$C4Missing information\nmenu item"); } } break; @@ -599,7 +599,7 @@ void process_menu_item_info_request(shared_ptr s, shared_ptr s, shared_ptrquest_index->get(c->version, cmd.item_id); if (!q) { - send_quest_info(c, u"$C6Quest does not exist.", !c->lobby_id); + send_quest_info(c, u"$C4Quest does not\nexist.", !c->lobby_id); break; } send_quest_info(c, q->long_description.c_str(), !c->lobby_id);