mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 07:54:17 +00:00
Fixed sender of whisper message not seen in multipalyer lobby.
This commit is contained in:
parent
573b1f9271
commit
9cef2ae836
@ -522,7 +522,7 @@ void ui::process_message(const config& msg, const bool whisper) {
|
||||
} else {
|
||||
sound::play_UI_sound(game_config::sounds::receive_message);
|
||||
}
|
||||
chat_.add_message(whisper ? "whisper: " : "" + msg["sender"], msg["message"]);
|
||||
chat_.add_message((whisper ? "whisper: " : "") + msg["sender"], msg["message"]);
|
||||
chat_.update_textbox(chat_textbox_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user