Fixed sender of whisper message not seen in multipalyer lobby.
This commit is contained in:
parent
573b1f9271
commit
9cef2ae836
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue