Skip to content

Commit 87c128b

Browse files
committed
[FlashpointManager] Prevent components from appearing in update tab twice
1 parent 2e26215 commit 87c128b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FlashpointManager/src/Common.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ public static void SyncManager()
325325

326326
foreach (string dependID in component.Depends)
327327
{
328-
if (!ComponentTracker.Downloaded.Exists(c => c.ID == dependID))
328+
if (!(ComponentTracker.Downloaded.Exists(c => c.ID == dependID)
329+
|| ComponentTracker.Outdated.Exists(c => c.ID == dependID)))
329330
{
330331
var query = Main.ComponentList.Nodes.Find(dependID, true);
331332
if (query.Length > 0) ComponentTracker.Outdated.Add(query[0].Tag as Component);

0 commit comments

Comments
 (0)