Skip to content

Commit

Permalink
fix typo causing visibility filter by week to not work; v1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jltaylor-us committed Mar 14, 2021
1 parent 93c7058 commit fe1c331
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Release Notes

## Version 1.8.3

* Fix typo causing visiblity by week to not work

## Version 1.8.2

* Hide the overlay during events
Expand Down
2 changes: 1 addition & 1 deletion ToDew/ToDoList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public ListItem(long id, string text) {
internal void RefreshVisibility(bool farmRaining, bool islandRaining) {
DayVisibility dayOfWeek = (DayVisibility)(1 << (Game1.dayOfMonth % 7));
DayVisibility season = (DayVisibility)((int)DayVisibility.Spring << Utility.getSeasonNumber(Game1.currentSeason));
DayVisibility week = (DayVisibility)((int)DayVisibility.Week1 << (Game1.dayOfMonth % 7));
DayVisibility week = (DayVisibility)((int)DayVisibility.Week1 << (Game1.dayOfMonth / 7));
bool dateVisibility = DayOfWeekVisibility.HasFlag(dayOfWeek | week | season);
bool weatherVisibility = false;
weatherVisibility |= FarmWeatherVisiblity.HasFlag(farmRaining ? WeatherVisiblity.Raining : WeatherVisiblity.NotRaining);
Expand Down
2 changes: 1 addition & 1 deletion ToDew/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "To-Dew",
"Author": "Jamie Taylor",
"Version": "1.8.2",
"Version": "1.8.3",
"Description": "An in-game To-do list",
"UniqueID": "jltaylor-us.ToDew",
"EntryDll": "ToDew.dll",
Expand Down

0 comments on commit fe1c331

Please sign in to comment.