A NaN corner load compares false to every rating, so a diverged corner held forever while NaN spread node-to-node — watchDivergence only ever guarded the tests. Non-finite load now breaks the corner instantly with reason:'divergence', load zeroed for the HUD. The pond per-node cap only ran on the rain-add: once rain stopped, consolidation could stack a basin node past POND_MAX_KG_M2 unbounded. Clamp moved post-flow, every step. Also fixes the dumpPond assert that compared dumped to itself through a helper that returned its argument. All three mutation-checked red before landing green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| js | ||
| models | ||
| vendor | ||
| dev_player.html | ||
| dev_rigging.html | ||
| dev_skyfx.html | ||
| editor.html | ||
| index.html | ||
| selftest.html | ||