Add a note about setting local wind client-side

This commit is contained in:
juliancoffee 2024-03-01 19:33:25 +02:00
parent 67a4d30f81
commit f9e8276a94

View File

@ -237,6 +237,8 @@ impl WeatherLerp {
.zip(old.iter().zip(new.iter()))
.for_each(|((_, current), ((_, old), (_, new)))| {
*current = CompressedWeather::lerp_unclamped(old, new, t);
// `local_wind` is set for all weather cells on the client,
// which will still be inaccurate outside the "local" area
current.wind = self.local_wind;
});
}