File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -718,12 +718,11 @@ internal static async Task DrawInstructionalButtons()
718718
719719 for ( int i = 0 ; i < menu . InstructionalButtons . Count ; i ++ )
720720 {
721- int buttonIndex = i ;
722721 string text = menu . InstructionalButtons . ElementAt ( i ) . Value ;
723722 Control control = menu . InstructionalButtons . ElementAt ( i ) . Key ;
724723
725724 BeginScaleformMovieMethod ( _scale , "SET_DATA_SLOT" ) ;
726- ScaleformMovieMethodAddParamInt ( buttonIndex ) ;
725+ ScaleformMovieMethodAddParamInt ( i ) ;
727726 string buttonName = GetControlInstructionalButton ( 0 , ( int ) control , 1 ) ;
728727 PushScaleformMovieMethodParameterString ( buttonName ) ;
729728 PushScaleformMovieMethodParameterString ( text ) ;
@@ -733,7 +732,7 @@ internal static async Task DrawInstructionalButtons()
733732 // Use custom instructional buttons FIRST if they're present.
734733 if ( menu . CustomInstructionalButtons . Count > 0 )
735734 {
736- for ( int i = 0 ; i < menu . CustomInstructionalButtons . Count + menu . InstructionalButtons . Count ; i ++ )
735+ for ( int i = 0 ; i < menu . CustomInstructionalButtons . Count ; i ++ )
737736 {
738737 Menu . InstructionalButton button = menu . CustomInstructionalButtons [ i ] ;
739738 BeginScaleformMovieMethod ( _scale , "SET_DATA_SLOT" ) ;
You can’t perform that action at this time.
0 commit comments