summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network.cpp1
-rw-r--r--src/network/network_udp.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 7646278ca..09ae9b7ae 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -749,7 +749,6 @@ static void NetworkInitGameInfo()
/* The server is a client too */
_network_game_info.clients_on = _network_dedicated ? 0 : 1;
- _network_game_info.start_date = ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1);
NetworkClientInfo *ci = new NetworkClientInfo(CLIENT_ID_SERVER);
ci->client_playas = _network_dedicated ? COMPANY_SPECTATOR : _local_company;
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 7eaf19397..4a954421c 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -90,7 +90,7 @@ DEF_UDP_RECEIVE_COMMAND(Server, PACKET_UDP_CLIENT_FIND_SERVER)
/* Update some game_info */
ngi.clients_on = _network_game_info.clients_on;
- ngi.start_date = _network_game_info.start_date;
+ ngi.start_date = ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1);
ngi.server_lang = _settings_client.network.server_lang;
ngi.use_password = !StrEmpty(_settings_client.network.server_password);