lib/sportradar/api/football/ncaafb/drive.rb in sportradar-api-0.11.42 vs lib/sportradar/api/football/ncaafb/drive.rb in sportradar-api-0.11.43

- old
+ new

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