Skip to content

Commit 7a756e6

Browse files
committed
filter Tutorial replays
1 parent dd2f7d6 commit 7a756e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dsstats.db8services/Import/ImportService.Import.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ public async Task<ImportResult> Import(List<ReplayDto> replayDtos, List<PlayerId
2626
await Init();
2727
}
2828

29+
if (!IsMaui)
30+
{
31+
replayDtos = replayDtos.Where(x => x.GameMode != GameMode.Tutorial).ToList();
32+
}
33+
2934
Dictionary<PlayerId, string> playerInfos = new();
3035

3136
for (int i = 0; i < replayDtos.Count; i++)

0 commit comments

Comments
 (0)