diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-11 22:28:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-11 22:28:01 +0300 |
commit | 1475bfbf16414df9aa812fc3ea78d747b0758601 (patch) | |
tree | b6175330b385b166d9325aa135b560d547634565 /src/client.cpp | |
parent | 66f4de3a19e8692a10f4ab1345769c7ccc914090 (diff) | |
download | ManaVerse-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.gz ManaVerse-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.bz2 ManaVerse-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.xz ManaVerse-1475bfbf16414df9aa812fc3ea78d747b0758601.zip |
Fix last character selection after login dialog.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 8497d337b..c90d1886f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1145,7 +1145,7 @@ int Client::exec() { logger->log("Memorizing selected character %s", player_node->getName().c_str()); - config.setValue("lastCharacter", + serverConfig.setValue("lastCharacter", player_node->getName()); if (mumbleManager) mumbleManager->setPlayer(player_node->getName()); |