fixups for player planet model updates

This commit is contained in:
2025-01-21 20:18:05 +01:00
parent ef5a8ae4af
commit 8f63587966
2 changed files with 70 additions and 57 deletions

View File

@ -85,7 +85,7 @@ public class PlanetManager : IDisposable, IEnableLogger
if (playerPlanet.HasValue)
playerPlanet.Value.Planet = planet;
else
innerCache.Add(new PlayerPlanetViewModel(planet));
innerCache.AddOrUpdate(new PlayerPlanetViewModel(planet));
}
}
);