Record slice 7 B-C recheck after later slices drifted climate and dress paths.
Adds a weather-drop walk test so a jacket is not teleported onto the body; PE change regressions already red on main stay open. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -422,7 +422,18 @@ public sealed class School : IDisposable
|
||||
public void SyncWeather(bool force)
|
||||
{
|
||||
ObjectDisposedException.ThrowIf(_disposed, this);
|
||||
var next = EvaluateWeather();
|
||||
CommitWeather(EvaluateWeather(), force);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test hook: the vanilla diurnal never crosses <c>outerBelowC</c> during a school day, so a
|
||||
/// mid-day frost has to be injected to prove jackets walk to the locker room instead of
|
||||
/// appearing on the body.
|
||||
/// </summary>
|
||||
internal void ForceWeather(OutdoorWeather weather) => CommitWeather(weather, force: true);
|
||||
|
||||
private void CommitWeather(OutdoorWeather next, bool force)
|
||||
{
|
||||
if (force || next.Tenths != Weather.Tenths || next.Precipitation != Weather.Precipitation)
|
||||
{
|
||||
var before = Weather;
|
||||
|
||||
Reference in New Issue
Block a user