mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
fix: load fdbchecksum to verify, even on character selection (world 0) (#1176)
This commit is contained in:
parent
a29253d2f0
commit
7e2747a2d2
@ -262,6 +262,10 @@ int main(int argc, char** argv) {
|
||||
Game::zoneManager->Initialize(LWOZONEID(zoneID, instanceID, cloneID));
|
||||
g_CloneID = cloneID;
|
||||
|
||||
} else {
|
||||
Game::entityManager->Initialize();
|
||||
}
|
||||
|
||||
// pre calculate the FDB checksum
|
||||
if (Game::config->GetValue("check_fdb") == "1") {
|
||||
std::ifstream fileStream;
|
||||
@ -302,9 +306,6 @@ int main(int argc, char** argv) {
|
||||
|
||||
Game::logger->Log("WorldServer", "FDB Checksum calculated as: %s", databaseChecksum.c_str());
|
||||
}
|
||||
} else {
|
||||
Game::entityManager->Initialize();
|
||||
}
|
||||
|
||||
uint32_t currentFrameDelta = highFrameDelta;
|
||||
// These values are adjust them selves to the current framerate should it update.
|
||||
|
Loading…
Reference in New Issue
Block a user