Updatd GetWeeklyBoss to use prime number when generating seed

This commit is contained in:
Chomp
2025-11-06 14:12:37 +00:00
parent 73b710eb7d
commit 76182ba411
@@ -216,7 +216,7 @@ public class PostDbLoadService(
// Create a consistent seed for the week using the year and the day of the year of above monday chosen
// This results in seed being identical for the week
var seed = startOfWeek.Year * 1000 + startOfWeek.DayOfYear;
var seed = startOfWeek.Year * 1009 + startOfWeek.DayOfYear;
// Init Random class with unique seed
var random = new Random(seed);