Update issues with card appearing twice after reopening page
This commit is contained in:
@@ -231,6 +231,9 @@ namespace UI.CardSystem
|
|||||||
CardSystemManager.Instance.OnPendingCardAdded -= OnPendingCardAdded;
|
CardSystemManager.Instance.OnPendingCardAdded -= OnPendingCardAdded;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clean up active pending cards to prevent duplicates on next opening
|
||||||
|
CleanupActiveCards();
|
||||||
|
|
||||||
// Don't restore input mode here - only restore when actually exiting (in OnExitButtonClicked)
|
// Don't restore input mode here - only restore when actually exiting (in OnExitButtonClicked)
|
||||||
base.TransitionOut();
|
base.TransitionOut();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user