Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qubqub committed Sep 29, 2024
1 parent fd2c4e2 commit 5b5ed06
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Views/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3362,6 +3362,25 @@ where string.Equals(ri.ShowNameId, "explore_points")
this.CurrentSettings.Version = 105;
this.SaveUserSettings();
}

if (this.CurrentSettings.Version == 105) {
List<RoundInfo> roundInfoList = (from ri in this.RoundDetails.FindAll()
where string.Equals(ri.ShowNameId, "explore_points")
select ri).ToList();

foreach (RoundInfo ri in roundInfoList) {
ri.ShowNameId = "user_creative_hunt_round";
ri.UseShareCode = true;
ri.Name = ri.Name.Substring(4, 14);
ri.CreativeShareCode = ri.Name;
ri.CreativeTitle = ri.Name;
}
this.StatsDB.BeginTrans();
this.RoundDetails.Update(roundInfoList);
this.StatsDB.Commit();
this.CurrentSettings.Version = 106;
this.SaveUserSettings();
}
}

private UserSettings GetDefaultSettings() {
Expand Down

0 comments on commit 5b5ed06

Please sign in to comment.