mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Don't store game's local data path
It's only passed to libloadorder.
This commit is contained in:
@@ -61,7 +61,6 @@ Game::Game(const GameType gameType,
|
||||
const boost::filesystem::path& localDataPath) :
|
||||
type_(gameType),
|
||||
gamePath_(gamePath),
|
||||
localDataPath_(localDataPath),
|
||||
cache_(std::make_shared<GameCache>()),
|
||||
loadOrderHandler_(std::make_shared<LoadOrderHandler>()) {
|
||||
auto logger = getLogger();
|
||||
@@ -71,7 +70,7 @@ Game::Game(const GameType gameType,
|
||||
gamePath_.string());
|
||||
}
|
||||
|
||||
loadOrderHandler_->Init(type_, gamePath_, localDataPath_);
|
||||
loadOrderHandler_->Init(type_, gamePath_, localDataPath);
|
||||
|
||||
database_ = std::make_shared<ApiDatabase>(
|
||||
Type(), DataPath(), GetCache(), GetLoadOrderHandler());
|
||||
|
||||
@@ -83,7 +83,6 @@ private:
|
||||
|
||||
const GameType type_;
|
||||
const boost::filesystem::path gamePath_;
|
||||
const boost::filesystem::path localDataPath_;
|
||||
|
||||
std::string masterFile_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user