mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 21:06:25 +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 {
|
} else {
|
||||||
sound::play_UI_sound(game_config::sounds::receive_message);
|
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_);
|
chat_.update_textbox(chat_textbox_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user