Fixed typo

This commit is contained in:
erri120 2019-11-04 16:12:28 +01:00 committed by Timothy Baldridge
parent 1041f1ecde
commit 0fa2be2c1d

View File

@ -4,6 +4,7 @@ using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Wabbajack.Common;
namespace Wabbajack.Lib.CompilationSteps namespace Wabbajack.Lib.CompilationSteps
{ {
@ -15,7 +16,7 @@ namespace Wabbajack.Lib.CompilationSteps
public override Directive Run(RawSourceFile source) public override Directive Run(RawSourceFile source)
{ {
if (!source.Path.EndsWith("\\vortex.deployment.msgpack") && if (!source.Path.EndsWith("vortex.deployment.msgpack") &&
!source.Path.EndsWith("\\vortex.deployment.json")) return null; !source.Path.EndsWith("\\vortex.deployment.json")) return null;
var inline = source.EvolveTo<InlineFile>(); var inline = source.EvolveTo<InlineFile>();
inline.SourceDataID = _compiler.IncludeFile(File.ReadAllBytes(source.AbsolutePath)); inline.SourceDataID = _compiler.IncludeFile(File.ReadAllBytes(source.AbsolutePath));