Skip to content

Commit 7434385

Browse files
authored
Quick fix on hits commit pull request (#835)
* Quick fix allowing hits to be counted even if showRating is false
1 parent fa09458 commit 7434385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/game/PlayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,9 +1953,9 @@ class PlayState extends MusicBeatState
19531953
displayCombo(event);
19541954
if (event.displayRating)
19551955
displayRating(event.rating, event);
1956-
hits[rating.name] += 1;
19571956
ratingNum += 1;
19581957
}
1958+
if (event.player) hits[rating.name] += 1;
19591959
}
19601960

19611961
if (strumLine != null) strumLine.addHealth(event.healthGain);

0 commit comments

Comments
 (0)