forked from mirrors/0ad
9ff42ccae6
Presumably since094a7c2268, when a game played as part of a campaign ended (by the player winning or loosing), after closing the victory dialog by pressing "Stay", the session UI became completely unresponsive, so that no buttons could be clicked. The cause for this was that the child page campaigns/default_menu/endgame/page.xml was never closed, so remained invisibly open above the session GUI and blocked all of the inputs. Additionally the Campaign session class tried to close the page_session.xml page, which was not supposed to happen, it was introduced by mistake in094a7c2268replacing the logic to close the campaigns/default_menu/endgame/page.xml child page again.