summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-11 22:28:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-11 22:28:01 +0300
commit1475bfbf16414df9aa812fc3ea78d747b0758601 (patch)
treeb6175330b385b166d9325aa135b560d547634565
parent66f4de3a19e8692a10f4ab1345769c7ccc914090 (diff)
downloadmanaplus-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.gz
manaplus-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.bz2
manaplus-1475bfbf16414df9aa812fc3ea78d747b0758601.tar.xz
manaplus-1475bfbf16414df9aa812fc3ea78d747b0758601.zip
Fix last character selection after login dialog.
-rw-r--r--src/client.cpp2
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());