diff options
| author | lambdcalculus <64238778+lambdcalculus@users.noreply.github.com> | 2023-11-30 09:17:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 13:17:42 +0100 |
| commit | e9469a5ca4c1e156430e02cc1d55c03c4a008613 (patch) | |
| tree | a96013570957852b5cde6d0fe70c03f5af28c452 /src/lobby.cpp | |
| parent | e6e5e86f68459d6e85b48dccf0627493ea521256 (diff) | |
rework ms list callback logic (#927)
fixes crash when joining server before getting ms list back
Diffstat (limited to 'src/lobby.cpp')
| -rw-r--r-- | src/lobby.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index a705b262..85cc7449 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -229,7 +229,7 @@ void Lobby::loadUI() void Lobby::on_refresh_released() { - net_manager->get_server_list(std::bind(&Lobby::list_servers, this)); + net_manager->get_server_list(); get_motd(); list_favorites(); } |
