summaryrefslogtreecommitdiff
path: root/src/accounthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/accounthandler.cpp')
-rw-r--r--src/accounthandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/accounthandler.cpp b/src/accounthandler.cpp
index 1d1aef31..70021793 100644
--- a/src/accounthandler.cpp
+++ b/src/accounthandler.cpp
@@ -510,6 +510,7 @@ void AccountHandler::receiveMessage(NetComputer &computer, MessageIn &message)
rawStats[3], rawStats[4], rawStats[5]};
tmwserv::BeingPtr newCharacter(new tmwserv::Being(name, gender, hairStyle, hairColor,
1 /* level */, 0 /* Money */, stats));
+ newCharacter->setMap(DEFAULT_MAP_ID);
computer.getAccount()->addCharacter(newCharacter);
LOG_INFO("Character " << name << " was created for "