diff --git a/src/hci/quickchat.cpp b/src/hci/quickchat.cpp index 570a4c094cc..bbf63009fc7 100644 --- a/src/hci/quickchat.cpp +++ b/src/hci/quickchat.cpp @@ -2618,6 +2618,8 @@ const char* to_display_string(WzQuickChatMessage msg) // WZ-generated internal messages - not for users to deliberately send case WzQuickChatMessage::INTERNAL_MSG_DELIVERY_FAILURE_TRY_AGAIN: return _("Message delivery failure - try again"); + case WzQuickChatMessage::INTERNAL_LOBBY_NOTICE_MAP_DOWNLOADED: + return _("Map Downloaded"); // not a valid message case WzQuickChatMessage::MESSAGE_COUNT: diff --git a/src/hci/quickchat.h b/src/hci/quickchat.h index 9c5d71ff5c3..bce20f2edc2 100644 --- a/src/hci/quickchat.h +++ b/src/hci/quickchat.h @@ -104,7 +104,8 @@ \ /* FROM THIS POINT ON - ONLY INTERNAL MESSAGES! */ \ /* WZ-generated internal messages - not for users to deliberately send */ \ - MSG(INTERNAL_MSG_DELIVERY_FAILURE_TRY_AGAIN) // This should always be the first internal message! + MSG(INTERNAL_MSG_DELIVERY_FAILURE_TRY_AGAIN) /* This should always be the first internal message! */ \ + MSG(INTERNAL_LOBBY_NOTICE_MAP_DOWNLOADED) #define GENERATE_ENUM(ENUM) ENUM, diff --git a/src/multiplay.cpp b/src/multiplay.cpp index 5cd3d1c6aac..13317b05566 100644 --- a/src/multiplay.cpp +++ b/src/multiplay.cpp @@ -2078,7 +2078,11 @@ bool recvMapFileData(NETQUEUE queue) { netPlayersUpdated = true; // Remove download icon from ourselves. addConsoleMessage(_("MAP DOWNLOADED!"), DEFAULT_JUSTIFY, SYSTEM_MESSAGE); - sendInGameSystemMessage("MAP DOWNLOADED"); + + WzQuickChatTargeting targeting; + targeting.all = true; + sendQuickChat(WzQuickChatMessage::INTERNAL_LOBBY_NOTICE_MAP_DOWNLOADED, selectedPlayer, targeting); + debug(LOG_INFO, "=== File has been received. ==="); // clear out the old level list.