Contain legacy catalog readbacks
This commit is contained in:
parent
83ef113937
commit
edd3c0467c
2 changed files with 9 additions and 3 deletions
|
|
@ -122,11 +122,15 @@ public class CultCache
|
|||
}
|
||||
|
||||
if(_typeStores.ContainsKey(type))
|
||||
_typeStores[type].Push(entry);
|
||||
{
|
||||
var typeStore = _typeStores[type];
|
||||
if(typeStore != source)
|
||||
typeStore.Push(entry);
|
||||
}
|
||||
else
|
||||
{
|
||||
var masterStore = _backingStores.First();
|
||||
if(masterStore!=source)
|
||||
var masterStore = _backingStores.FirstOrDefault();
|
||||
if(masterStore != null && masterStore!=source)
|
||||
masterStore.Push(entry);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -189,6 +189,8 @@ First Aetheria surfaces to publish:
|
|||
- Done: disable legacy local save, loadout, zone, player-settings, keyboard
|
||||
layout, DB inspector, and NameFile export writers.
|
||||
- Done: delete the old `SavedGame`/`SavedZone` runtime save DTO and loader.
|
||||
- Done: stop legacy `CultCache` pull/read paths from writing entries back to
|
||||
their source backing store.
|
||||
- Remaining: delete or quarantine old cache abstractions that no longer
|
||||
protect an invariant once catalog migration has a typed reader.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue