lib/sportradar/api/football/ncaafb/drive.rb in sportradar-api-0.12.0 vs lib/sportradar/api/football/ncaafb/drive.rb in sportradar-api-0.12.1

- old
+ new

@@ -7,10 +7,10 @@ alias :team_id :team def update(data, **opts) super.tap { if opts[:game] - game_drives = opts[:game].drives.grep(Sportradar::Api::Football::Drive) + game_drives = opts[:game].drives @sequence = (game_drives.index(self) || game_drives.size) + 1 end } end