File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
PerformanceCalculatorGUI/Screens Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1044,6 +1044,21 @@ private void populateSettingsFromScore(long scoreId)
10441044 mehsTextBox . Text = mehs . ToString ( ) ;
10451045 }
10461046
1047+ if ( ruleset . Value ? . ShortName == "fruits" )
1048+ {
1049+ if ( scoreInfo . Statistics . TryGetValue ( HitResult . LargeTickHit , out int largeTickHits ) )
1050+ {
1051+ goodsTextBox . Value . Value = largeTickHits ;
1052+ goodsTextBox . Text = largeTickHits . ToString ( ) ;
1053+ }
1054+
1055+ if ( scoreInfo . Statistics . TryGetValue ( HitResult . SmallTickHit , out int smallTickHits ) )
1056+ {
1057+ mehsTextBox . Value . Value = smallTickHits ;
1058+ mehsTextBox . Text = smallTickHits . ToString ( ) ;
1059+ }
1060+ }
1061+
10471062 if ( scoreInfo . Statistics . TryGetValue ( HitResult . LargeTickMiss , out int largeTickMisses ) )
10481063 {
10491064 largeTickMissesTextBox . Value . Value = largeTickMisses ;
You can’t perform that action at this time.
0 commit comments