Gameplay stats 1.1 (#2129)

This commit is contained in:
Sarge-117
2022-12-10 12:37:33 -08:00
committed by GitHub
parent 8021f29c3e
commit 8c23bcd67c
6 changed files with 39 additions and 3 deletions

View File

@@ -1087,6 +1087,10 @@ void Play_Update(PlayState* play) {
// Gameplay stat tracking
if (!gSaveContext.sohStats.gameComplete) {
gSaveContext.sohStats.playTimer++;
if (CVar_GetS32("gMMBunnyHood", 0) && Player_GetMask(play) == PLAYER_MASK_BUNNY) {
gSaveContext.sohStats.count[COUNT_TIME_BUNNY_HOOD]++;
}
}
func_800AA178(1);