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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue