We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08707e1 commit 9f03619Copy full SHA for 9f03619
1 file changed
DataProviderService/FactionCache.cs
@@ -12,7 +12,7 @@ public class FactionCache ( int expirationSeconds ) : SlidingExpirationCache<str
12
public void AddOrUpdate ( Faction faction )
13
{
14
if ( faction == null ) { return; }
15
- if ( TryGet( faction.name, out var existing ) )
+ if ( TryGet( faction.name, out var existing ) && faction.updatedAt > existing.updatedAt )
16
17
faction = PreservePresenceData( faction, existing );
18
}
0 commit comments