# HG changeset patch # User rubidium # Date 2009-01-23 22:35:48 # Node ID 332f2a707d42485c9714d7704a4eda52079b5606 # Parent 3616576a3216eeb23e0a66da48fdd835f9d1db27 (svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and kick the client) because trying to join with an invalid player ID diff --git a/src/openttd.cpp b/src/openttd.cpp --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1219,6 +1219,7 @@ void GameLoop() if (_network_reconnect > 0 && --_network_reconnect == 0) { /* This means that we want to reconnect to the last host * We do this here, because it means that the network is really closed */ + _network_playas = COMPANY_SPECTATOR; NetworkClientConnectGame(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port)); } /* Singleplayer */