Skip to content

Commit 82c1159

Browse files
authoredDec 7, 2024··
Merge pull request #27 from bigbang1112-cz/dev
Fix pixel edge for other skins, fix TMNESWC finish line reset
2 parents 81a11bc + a16b363 commit 82c1159

File tree

9 files changed

+7
-0
lines changed

9 files changed

+7
-0
lines changed
 
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.

‎ClipInput/ClipInputTool.cs

+7
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@ private void GenerateGhostInputs(IList<CGameCtnMediaTrack> tracks, Ghost ghost)
164164
inputs = inputs.Select(input => input.WithTime(input.Time - fakeIsRaceRunning.Time)).ToList();
165165
}
166166

167+
if (replay?.Game == "TmNations" && inputEndTime.HasValue)
168+
{
169+
var inputList = inputs.ToList();
170+
inputList.Add(new FakeFinishLine(inputEndTime.Value, true));
171+
inputs = inputList;
172+
}
173+
167174
var inputTrackBuilder = new InputTrackBuilder(Config, tracks, inputs, endTime, inputEndTime > TimeInt32.Zero ? inputEndTime.Value : null);
168175

169176
for (var i = 0; i < 2; i++)

0 commit comments

Comments
 (0)