summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 2d4ac8cc..aa3991c0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -848,8 +848,8 @@ int Client::exec()
case STATE_GAME:
logger->log("Memorizing selected character %s",
- player_node->getName().c_str());
- config.setValue("lastCharacter", player_node->getName());
+ local_player->getName().c_str());
+ config.setValue("lastCharacter", local_player->getName());
// Fade out logon-music here too to give the desired effect
// of "flowing" into the game.