Merge pull request #1595 from sphericalice/patch-3

Remove unneeded brackets in GetWeekCount
This commit is contained in:
GriffinR
2022-01-08 17:44:25 -05:00
committed by GitHub

View File

@@ -932,9 +932,8 @@ u16 GetWeekCount(void)
{
u16 weekCount = gLocalTime.days / 7;
if (weekCount > 9999)
{
weekCount = 9999;
}
return weekCount;
}