add yet another spectator metadata send

This commit is contained in:
Martin Michelsen
2023-10-10 15:11:28 -07:00
parent 453a05fb8c
commit 16bb320ed8
3 changed files with 64 additions and 0 deletions
+7
View File
@@ -1520,6 +1520,13 @@ void Server::setup_and_start_battle() {
this->battle_start_usecs = now();
this->send_6xB4x46();
// Re-send game metadata to spectator teams, since loading the battle scene
// seems to delete it
auto l = this->lobby.lock();
if (l) {
send_ep3_update_game_metadata(l);
}
}
G_SetStateFlags_GC_Ep3_6xB4x03 Server::prepare_6xB4x03() const {