void RestoreBankData(BankRecordData_v1[] bankData) { DaggerfallBankManager.SetupAccounts(); DaggerfallBankManager.SetupHouses(); // Covers case when loading old save with no house data if (bankData == null) { return; } for (int i = 0; i < bankData.Length; i++) { if (bankData[i].regionIndex < 0 || bankData[i].regionIndex >= DaggerfallBankManager.BankAccounts.Length) { continue; } DaggerfallBankManager.BankAccounts[bankData[i].regionIndex] = bankData[i]; } }