feat(Core/World) add an error message when closing due to not finding the starting area map files (#21879)

Server no longer will close without displaying an error message.
This commit is contained in:
Tereneckla 2025-04-08 21:13:26 +00:00 committed by GitHub
parent 4089f652c9
commit dda1fe87ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1309,6 +1309,7 @@ void World::SetInitialWorldSettings()
!MapMgr::ExistMapAndVMap(530, 10349.6f, -6357.29f) ||
!MapMgr::ExistMapAndVMap(530, -3961.64f, -13931.2f))))
{
LOG_ERROR("server.loading", "Failed to find map files for starting areas");
exit(1);
}
}