Skip to content

Commit

Permalink
auto dir mapping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebRut committed Jan 25, 2015
1 parent 5f98eb5 commit 7efafe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2mm/d2mm/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private void ImportMod(string fileName)
{
string dirName = Path.GetFileName(Path.GetDirectoryName(dir + Path.DirectorySeparatorChar));
Helpers.MoveDirectoryToDirectory(Path.Combine(destDir, "/dota", Path.DirectorySeparatorChar + dirName),
Path.Combine(destDir, Path.PathSeparator + dirName));
Path.Combine(destDir, Path.DirectorySeparatorChar + dirName));
mod.DirMappings.Add(new DirMapping(dir, Path.Combine("dota", Path.DirectorySeparatorChar + dirName)));
}
}
Expand Down

0 comments on commit 7efafe5

Please sign in to comment.