nixpulvis / galos

Elite: Dangerous Database and Tools
3 stars 0 forks source link

Update `starmap::System` #42

Closed nixpulvis closed 2 months ago

nixpulvis commented 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.

Rename systems::spawn to systems::sync

nixpulvis commented 2 months ago

7735e589aa292404427bec41824ba6043c4f657e implements this, just need to rename.

nixpulvis commented 2 months ago

No it actually doesn't, it just redraws based on the fetched DB values.

nixpulvis commented 2 months ago

https://github.com/nixpulvis/galos/pull/61/files#diff-fdae003c31de429a03defbab4ab699332e0c1885b721f624494d5361f2bbf732R135