Skip to content

Commit d8e1e95

Browse files
committed
fix
1 parent 10dbff1 commit d8e1e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Snittlistan.Web/Commands/GetRostersFromBitsCommandHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ public override async Task Handle(HandlerContext<Command> context)
141141
List<Roster> actualRemoved = new();
142142
foreach (Roster roster in toRemove)
143143
{
144-
if (roster.MatchResultId is null && roster.Turn > 20)
144+
// only regular season games, playoff is handled differently
145+
if (roster.MatchResultId is null && roster.Turn <= 20)
145146
{
146147
CompositionRoot.DocumentSession.Delete(roster);
147148
actualRemoved.Add(roster);

0 commit comments

Comments
 (0)