File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
UnityPomodoro/Assets/AdrianMiasik/Scripts/Components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,9 +572,9 @@ public void SetTimerValue(string _formattedString)
572572 // Set timer sections
573573 // Check if we have enough generated digits...(We will allow users to paste longer values, but only
574574 // carry over the values that can fit within the number of generated digits we have)
575- if ( generatedDigits . Count >= _sections . Count )
575+ if ( _sections . Count >= generatedDigits . Count )
576576 {
577- for ( int _i = 0 ; _i < _sections . Count ; _i ++ )
577+ for ( int _i = 0 ; _i < generatedDigits . Count ; _i ++ )
578578 {
579579 generatedDigits [ _i ] . SetValue ( int . Parse ( _sections [ _i ] ) ) ;
580580 generatedDigits [ _i ] . UpdateVisuals ( GetDigitValue ( generatedDigits [ _i ] . digit ) ) ;
You can’t perform that action at this time.
0 commit comments