From 87e0ee5850c007de6e94325c0f29db3dda3d0ec7 Mon Sep 17 00:00:00 2001 From: Vlad Firoiu Date: Sat, 1 Jun 2024 17:41:45 -0400 Subject: [PATCH] Remove spurious start/end game messages from spectator server. --- Source/Core/Core/Slippi/SlippiSpectate.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/Core/Core/Slippi/SlippiSpectate.cpp b/Source/Core/Core/Slippi/SlippiSpectate.cpp index 07229ce07620..cd7a1aa86af5 100644 --- a/Source/Core/Core/Slippi/SlippiSpectate.cpp +++ b/Source/Core/Core/Slippi/SlippiSpectate.cpp @@ -37,10 +37,6 @@ void SlippiSpectateServer::write(u8* payload, u32 length) // CALLED FROM DOLPHIN MAIN THREAD void SlippiSpectateServer::startGame() { - if (isSpectatorEnabled()) - { - m_event_queue.Push("START_GAME"); - } json start_game_message; start_game_message["type"] = "start_game"; m_event_queue.Push(start_game_message.dump()); @@ -49,10 +45,6 @@ void SlippiSpectateServer::startGame() // CALLED FROM DOLPHIN MAIN THREAD void SlippiSpectateServer::endGame(bool dolphin_closed) { - if (isSpectatorEnabled()) - { - m_event_queue.Push("END_GAME"); - } json end_game_message; end_game_message["type"] = "end_game"; end_game_message["dolphin_closed"] = dolphin_closed;