diff --git a/src/states_screens/online/tracks_screen.cpp b/src/states_screens/online/tracks_screen.cpp index ac1ca81ee..51843ea0a 100644 --- a/src/states_screens/online/tracks_screen.cpp +++ b/src/states_screens/online/tracks_screen.cpp @@ -501,14 +501,6 @@ void TracksScreen::init() m_reversed->setState(vote->m_reverse); } } - if (NetworkConfig::get()->isAutoConnect() && m_network_tracks) - { - assert(!m_random_track_list.empty()); - NetworkString vote(PROTOCOL_LOBBY_ROOM); - vote.addUInt8(LobbyProtocol::LE_VOTE); - vote.encodeString(m_random_track_list[0]).addUInt8(1).addUInt8(0); - STKHost::get()->sendToServer(&vote, true); - } updatePlayerVotes(); } // init diff --git a/src/states_screens/online/tracks_screen.hpp b/src/states_screens/online/tracks_screen.hpp index bc59eecc2..beae60c24 100644 --- a/src/states_screens/online/tracks_screen.hpp +++ b/src/states_screens/online/tracks_screen.hpp @@ -98,7 +98,6 @@ public: void removeVote(uint32_t host_id); void setResult(const PeerVote &winner_vote); void showVoteResult(); - void updateNumPlayers(int n); /** \brief implement callback from parent class GUIEngine::Screen */ virtual void loadedFromFile() OVERRIDE;