summaryrefslogtreecommitdiffstats
path: root/game/client/play_menu.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-16 22:19:39 +0500
committeruntodesu <kirill@untode.su>2025-03-16 22:19:39 +0500
commitd1d7521ee859f10e99fb3f82e710c8bbeb7c41c5 (patch)
tree900e6a537bd5763636db8497404d3b28e6afcef2 /game/client/play_menu.cc
parent68b0b663514d1a5dcf79cfbdeea544b5d69ed1ed (diff)
downloadvoxelius-d1d7521ee859f10e99fb3f82e710c8bbeb7c41c5.tar.bz2
voxelius-d1d7521ee859f10e99fb3f82e710c8bbeb7c41c5.zip
Fix the bizzare CRC32 callback I forgot to remove
- This fixes bother not working - Separated client and server splashes - Added server splashes
Diffstat (limited to 'game/client/play_menu.cc')
-rw-r--r--game/client/play_menu.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/game/client/play_menu.cc b/game/client/play_menu.cc
index 4c1d2cd..1c89252 100644
--- a/game/client/play_menu.cc
+++ b/game/client/play_menu.cc
@@ -195,7 +195,7 @@ static void on_bother_response(const BotherResponseEvent &event)
item->num_players = event.num_players;
item->max_players = event.max_players;
item->motd = event.motd;
- item->status = item_status::FAILURE;
+ item->status = item_status::REACHED;
}
break;
@@ -480,7 +480,6 @@ void play_menu::update_late(void)
{
for(auto item : servers_deque) {
if(item->status == item_status::UNKNOWN) {
- spdlog::info("bothering {}", item->name);
bother::ping(item->identity, item->hostname.c_str(), item->port);
item->status = item_status::PINGING;
continue;