mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
cleanup: remove extra start/end game msgs from spectator server (#23)
This commit is contained in:
parent
90f00d35d5
commit
10bc950348
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue