summaryrefslogtreecommitdiff
path: root/src
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 /src
parent66f4de3a19e8692a10f4ab1345769c7ccc914090 (diff)
downloadmanaverse-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')
-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());