summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 9ac6c0df5..64297d599 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -616,6 +616,7 @@ void Client::gameClear()
ElementalDb::unload();
SkillUnitDb::unload();
HorseDB::unload();
+ NetworkDb::unload();
}
MonsterDB::unload();
NPCDB::unload();
@@ -627,7 +628,6 @@ void Client::gameClear()
PETDB::unload();
StatusEffectDB::unload();
ModDB::unload();
- NetworkDb::unload();
if (loginHandler)
loginHandler->clearWorlds();
@@ -1327,7 +1327,6 @@ int Client::gameExec()
AttributesEnum::init();
// Load XML databases
- NetworkDb::load();
CharDB::load();
StatDb::load();
DeadDB::load();
@@ -1342,6 +1341,9 @@ int Client::gameExec()
if (type == ServerType::EATHENA ||
type == ServerType::EVOL2)
{
+ NetworkDb::load();
+ if (loginHandler)
+ loginHandler->updatePacketVersion();
MercenaryDB::load();
HomunculusDB::load();
ElementalDb::load();