File tree Expand file tree Collapse file tree
ReboundLogParser/ReboundLogParser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,48 +277,16 @@ private bool TabulateSelectedLogs()
277277 private bool CheckOvertime ( Match statsObject )
278278 {
279279 bool returnBool = false ;
280- double homeTeamOT = 0 ;
281- double awayTeamOT = 0 ;
282-
283- for ( int i = 0 ; i < 5 ; i ++ )
280+ double overtimeWins = 0.0 ;
281+ foreach ( Player player in statsObject . Players )
284282 {
285- if ( statsObject . Players [ i ] . Team == "away" )
286- {
287- break ;
288- }
289-
290- try
291- {
292- homeTeamOT = statsObject . Players [ i ] . Stats . OvertimeWins ;
293- }
294- catch
295- {
296- homeTeamOT = 0 ;
297- }
298-
299- if ( homeTeamOT == 0 )
300- {
301- try
302- {
303- awayTeamOT = statsObject . Players [ i ] . Stats . OvertimeLosses ;
304- }
305- catch
306- {
307- awayTeamOT = 0 ;
308- }
309- }
310-
311- if ( homeTeamOT == 1 || awayTeamOT == 1 )
283+ if ( player . Stats . OvertimeWins > 0.0 )
312284 {
285+ returnBool = true ;
313286 break ;
314287 }
315288 }
316289
317- if ( awayTeamOT == 1 || homeTeamOT == 1 )
318- {
319- returnBool = true ;
320- }
321-
322290 return returnBool ;
323291 }
324292
Original file line number Diff line number Diff line change 3232// You can specify all the values or you can default the Build and Revision Numbers
3333// by using the '*' as shown below:
3434// [assembly: AssemblyVersion("1.0.*")]
35- [ assembly: AssemblyVersion ( "6.4.0 .0" ) ]
36- [ assembly: AssemblyFileVersion ( "6.4.0 .0" ) ]
35+ [ assembly: AssemblyVersion ( "6.4.1 .0" ) ]
36+ [ assembly: AssemblyFileVersion ( "6.4.1 .0" ) ]
You can’t perform that action at this time.
0 commit comments