From 54ec62e8b145446ec902990249bf7282b515d6af Mon Sep 17 00:00:00 2001 From: Benjamin Popp Date: Fri, 23 Jul 2021 22:59:02 -0500 Subject: [PATCH] allow XSE format to 'create new' data --- src/HexManiac.Core/Models/Runs/Factory/RunStrategy.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HexManiac.Core/Models/Runs/Factory/RunStrategy.cs b/src/HexManiac.Core/Models/Runs/Factory/RunStrategy.cs index f50cd110..ba5f824d 100644 --- a/src/HexManiac.Core/Models/Runs/Factory/RunStrategy.cs +++ b/src/HexManiac.Core/Models/Runs/Factory/RunStrategy.cs @@ -124,7 +124,8 @@ namespace HavenSoft.HexManiac.Core.Models.Runs.Factory { } public override IFormattedRun WriteNewRun(IDataModel owner, ModelDelta token, int source, int destination, string name, IReadOnlyList sourceSegments) { - throw new System.NotImplementedException(); + token.ChangeData(owner, destination, 2); + return new XSERun(destination); } }