summaryrefslogtreecommitdiff
path: root/src/game-server/accountconnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/accountconnection.cpp')
-rw-r--r--src/game-server/accountconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/accountconnection.cpp b/src/game-server/accountconnection.cpp
index 842853b4..5b8b6f3d 100644
--- a/src/game-server/accountconnection.cpp
+++ b/src/game-server/accountconnection.cpp
@@ -75,7 +75,7 @@ void AccountConnection::processMessage(MessageIn &msg)
Character *ptr = new Character(msg);
ptr->setSpeed(250); // TODO
ptr->fillHitpoints();// TODO: the current hit points should be saved in the database. Otherwise players could heal their characters by logging in and out again.
- gameHandler->mTokenCollector.addPendingConnect(token, ptr);
+ gameHandler->addPendingCharacter(token, ptr);
} break;
case AGMSG_ACTIVE_MAP: