From e27bce9313d96375f7782c235afea436627d80b4 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 17 Sep 2023 11:43:20 -0700 Subject: [PATCH] fix spectator count when joining an existing spectator team --- src/ReceiveCommands.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 6c20202a..50fc8001 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -3504,6 +3504,7 @@ static void on_6F(shared_ptr s, shared_ptr c, if (l->battle_player && (l->flags & Lobby::Flag::START_BATTLE_PLAYER_IMMEDIATELY)) { l->battle_player->start(); } else if (watched_lobby && watched_lobby->ep3_server) { + send_ep3_update_spectator_count(watched_lobby); watched_lobby->ep3_server->send_commands_for_joining_spectator( c->channel, c->flags & Client::Flag::IS_EP3_TRIAL_EDITION); }