1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Also install the separate Sounds directory for Tribunal

This commit is contained in:
pvdk 2014-01-28 13:36:14 +01:00
parent 5024f1bf77
commit ceb66d0790

View file

@ -554,6 +554,17 @@ bool Wizard::UnshieldWorker::installComponent(Component component)
} }
} }
if (component == Wizard::Component_Tribunal)
{
QFileInfo sounds(temp.absoluteFilePath(QLatin1String("Sounds")));
if (sounds.exists()) {
emit textChanged(tr("Extracting: Sound directory"));
copyDirectory(sounds.absoluteFilePath(), getPath() + QDir::separator() + QLatin1String("Sound"));
}
}
if (component == Wizard::Component_Bloodmoon) if (component == Wizard::Component_Bloodmoon)
{ {
QFileInfo patch(temp.absoluteFilePath(QLatin1String("Tribunal Patch") + QDir::separator() + QLatin1String("Tribunal.esm"))); QFileInfo patch(temp.absoluteFilePath(QLatin1String("Tribunal Patch") + QDir::separator() + QLatin1String("Tribunal.esm")));