fix(map): drop the last network's floaters when another one starts

Floaters ("New POP!", payday money) live in FLOATS and fade on the map's
animation clock, which only runs while the game does. A new network
whose clock stands still (the agent's clock on the development page)
kept the previous network's floaters frozen over its map until a reload:
hundreds of them after a payday on a big network at 8x.

Each floater now records the network that raised it, and the map drops
any that belong to another one (new game, another slot, import, puzzle,
title screen). Same code for the 2D and WebGL maps.
This commit is contained in:
Antoine 2026-11-05 20:56:18 +01:00
parent dd6e4f4f8a
commit fca11b39d2
No known key found for this signature in database
GPG key ID: 728FF1CE15732B05
5 changed files with 24 additions and 4 deletions

View file

@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
- Starting a new network no longer leaves the last one's "New POP!" and money pop-ups frozen all over the map until a reload.
## [2.10.1] — 2026-11-05
- "Meet halfway" on a renewal now offers the price halfway between what the customer pays and what they ask, and the button shows it before you press (#293).