Change script directory name to avoid conflict with official PoB
This commit is contained in:
1 parent
7126061645
commit
50b4450c8b
1 file changed
+2
-2
+2
-2
@@ -33,8 +33,8 @@ impl Game {
|
|||||||
|
|
||||||
pub fn script_dir() -> PathBuf {
|
pub fn script_dir() -> PathBuf {
|
||||||
let directory_name = match Self::current() {
|
let directory_name = match Self::current() {
|
||||||
Game::Poe1 => "PathOfBuilding1",
|
Game::Poe1 => "RustyPathOfBuilding1",
|
||||||
Game::Poe2 => "PathOfBuilding2",
|
Game::Poe2 => "RustyPathOfBuilding2",
|
||||||
};
|
};
|
||||||
BaseDirs::new().unwrap().data_dir().join(directory_name)
|
BaseDirs::new().unwrap().data_dir().join(directory_name)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user