mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed zEditIntegrationTests failing
This commit is contained in:
parent
7ca874551a
commit
3f58803b4d
@ -15,7 +15,7 @@ namespace Wabbajack.Lib.CompilationSteps
|
|||||||
public override Directive Run(RawSourceFile source)
|
public override Directive Run(RawSourceFile source)
|
||||||
{
|
{
|
||||||
var filename = Path.GetFileName(source.Path);
|
var filename = Path.GetFileName(source.Path);
|
||||||
var gameFile = Path.Combine(_compiler.GamePath, "Data", filename);
|
var gameFile = Path.Combine(_compiler._mo2Compiler.GamePath, "Data", filename);
|
||||||
if (!Consts.GameESMs.Contains(filename) || !source.Path.StartsWith("mods\\") ||
|
if (!Consts.GameESMs.Contains(filename) || !source.Path.StartsWith("mods\\") ||
|
||||||
!File.Exists(gameFile)) return null;
|
!File.Exists(gameFile)) return null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user