diff options
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 9431c5c55..4b5e1e2e3 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1673,6 +1673,9 @@ int Client::gameExec() case STATE_ERROR: BLOCK_START("Client::gameExec STATE_ERROR") + config.write(); + if (mOldState == STATE_GAME) + serverConfig.write(); logger->log1("State: ERROR"); logger->log("Error: %s\n", errorMessage.c_str()); mCurrentDialog = new OkDialog(_("Error"), |