If a user joins on a day before the reset time, they will be awarded time both for joining on that day and for resetting on that day, potentially ending up with more exhaustion that what should be possible for the time that has passed.
Repro steps
- Configure the server to reset at a specific time, for example at 19:00.
- Configure the server to give different amounts of exhaustion on different days, for example 3 hours on Friday and 6 hours on Saturday.
- Start the server.
- Have one user join on Friday after reset time. This should give them 3 hours of exhaustion
- Wait until Saturday (Or any debug method you have for pretending it's another weekday)
- Have another user join on Saturday before reset time. This will give them 6 hours of exhaustion.
- Wait until reset time.
- Observe that the user who joined on Saturday will now have 12 hours of exhaustion while the user who joined on Friday only has 9.
If a user joins on a day before the reset time, they will be awarded time both for joining on that day and for resetting on that day, potentially ending up with more exhaustion that what should be possible for the time that has passed.
Repro steps