diff --git a/Logic/Financial/FinancialAccount.cs b/Logic/Financial/FinancialAccount.cs index 03635abf..f5da4850 100644 --- a/Logic/Financial/FinancialAccount.cs +++ b/Logic/Financial/FinancialAccount.cs @@ -311,12 +311,9 @@ namespace Swarmops.Logic.Financial return null; } - set - { - if (value != null) - OptionalData.SetOptionalDataInt (ObjectOptionalDataType.GeographyId, value.Identity); - else - OptionalData.SetOptionalDataInt (ObjectOptionalDataType.GeographyId, 0); + set { + this.OptionalData.SetOptionalDataInt (ObjectOptionalDataType.GeographyId, + value != null ? value.Identity : 0); } }