summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/tcp_game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp
index 58447ad68..ea8cad7b9 100644
--- a/src/network/core/tcp_game.cpp
+++ b/src/network/core/tcp_game.cpp
@@ -57,7 +57,7 @@ NetworkRecvStatus NetworkClientSocket::CloseConnection(bool error)
_switch_mode = SM_MENU;
_networking = false;
extern StringID _switch_mode_errorstr;
- _switch_mode_errorstr = STR_NETWORK_ERR_LOSTCONNECTION;
+ _switch_mode_errorstr = STR_NETWORK_ERROR_LOSTCONNECTION;
return NETWORK_RECV_STATUS_CONN_LOST;
}