private void CloseWarScreen() { SquadWarScreen highestLevelScreen = Service.Get <ScreenController>().GetHighestLevelScreen <SquadWarScreen>(); if (highestLevelScreen != null) { highestLevelScreen.Close(null); } }
public static void ForceCloseSquadWarScreen() { if (Service.Get <WorldTransitioner>().IsTransitioning()) { return; } SquadWarScreen highestLevelScreen = Service.Get <ScreenController>().GetHighestLevelScreen <SquadWarScreen>(); if (highestLevelScreen != null) { highestLevelScreen.Close(null); } }