Closed nixpulvis closed 2 months ago
https://github.com/nixpulvis/galos/blob/e5d5ff6ea59a3bd1f0906b577246e3bbf62043e3/starmap/src/systems/spawn.rs#L113
Currently if you load systems with ColorBy::Allegiance , then you fetch ColorBy::Security, the existing stars will not be updated.
ColorBy::Allegiance
ColorBy::Security
Rename systems::spawn to systems::sync
systems::spawn
systems::sync
7735e589aa292404427bec41824ba6043c4f657e implements this, just need to rename.
No it actually doesn't, it just redraws based on the fetched DB values.
https://github.com/nixpulvis/galos/pull/61/files#diff-fdae003c31de429a03defbab4ab699332e0c1885b721f624494d5361f2bbf732R135
https://github.com/nixpulvis/galos/blob/e5d5ff6ea59a3bd1f0906b577246e3bbf62043e3/starmap/src/systems/spawn.rs#L113
Currently if you load systems with
ColorBy::Allegiance
, then you fetchColorBy::Security
, the existing stars will not be updated.Rename
systems::spawn
tosystems::sync