Skip to content

Commit

Permalink
Do not align Ball Out and Corner Awarded events
Browse files Browse the repository at this point in the history
  • Loading branch information
huffyhenry committed Jul 11, 2020
1 parent b3b5ab6 commit 5b5ee5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/F24.hs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ convertGameCoordinates metaData frames game =
-- Whether the event is an on-the-ball event.
-- Consult the list below for the meaning of event type IDs.
isOTB :: Event c -> Bool
isOTB e = type_id e `elem` ([1..16] ++ [41..45] ++ [49..61])
isOTB e = type_id e `elem` ([1..4] ++ [7..16] ++ [41..45] ++ [49..61])


eventTypeName :: Event a -> String
Expand Down

0 comments on commit 5b5ee5b

Please sign in to comment.