Update issues with card appearing twice after reopening page

This commit is contained in:
Michal Pikulski
2025-11-10 11:55:55 +01:00
parent 9344f06886
commit cefa488a92

View File

@@ -231,6 +231,9 @@ namespace UI.CardSystem
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)
base.TransitionOut();
}