Index: simworld.cc =================================================================== --- simworld.cc (Revision 8820) +++ simworld.cc (Arbeitskopie) @@ -6877,6 +6877,10 @@ // Always send status, either online or offline if ( status == 0 || status == 1 ) { buf.append( "&st=1" ); + } + else { + buf.append( "&st=0" ); + } #ifndef REVISION # define REVISION 0 #endif @@ -6936,11 +6940,8 @@ buf.printf( "&factories=%u", fab_list.get_count() ); buf.printf( "&convoys=%u", convoys().get_count()); buf.printf( "&stops=%u", haltestelle_t::get_alle_haltestellen().get_count() ); - } - else { - buf.append( "&st=0" ); - } - network_http_post( ANNOUNCE_SERVER, ANNOUNCE_URL, buf, NULL ); + + network_http_post( ANNOUNCE_SERVER, ANNOUNCE_URL, buf, NULL ); // Record time of this announce server_last_announce_time = dr_time();