public static void Show(PacketAPI api, short npcID) { if (Instance != null) return; Instance = new BankAccountDialog(api); if (!api.BankOpen(npcID)) { Instance.Close(); Instance = null; EOGame.Instance.DoShowLostConnectionDialogAndReturnToMainMenu(); } }
public static void Show(PacketAPI api, short npcID) { if (Instance != null) { return; } Instance = new BankAccountDialog(api); if (!api.BankOpen(npcID)) { Instance.Close(); Instance = null; EOGame.Instance.DoShowLostConnectionDialogAndReturnToMainMenu(); } }