[wesnoth-commits] [wesnoth/wesnoth] 7b06da: Chatbox: partially fixed buggy nick autocompletion...
Charles Dang
noreply at github.com
Mon Nov 8 00:30:43 UTC 2021
Branch: refs/heads/1.16
Home: https://github.com/wesnoth/wesnoth
Commit: 7b06daa5b28b36f564e396d165aaeaf24a64811c
https://github.com/wesnoth/wesnoth/commit/7b06daa5b28b36f564e396d165aaeaf24a64811c
Author: Charles Dang <exodia339 at gmail.com>
Date: 2021-11-07 (Sun, 07 Nov 2021)
Changed paths:
M src/game_initialization/multiplayer.cpp
M src/game_initialization/multiplayer.hpp
M src/gui/widgets/chatbox.cpp
Log Message:
-----------
Chatbox: partially fixed buggy nick autocompletion (fixes #6263)
I don't really like this solution, since as mentioned in #3729, while this works for players
in the lobby, since lobby_info.users isn't updated while a player is in staging/join, anyone
who joins the lobby (or your game) after your create or join a game won't get included in the
autocomplete list. BEeides, I don't like the idea of exposing the full lobby_info object here
just for the user list, but it at least gets ac working and not crashing.
More information about the Commits
mailing list