diff --git a/src/Prospect.Server.Api/Services/CloudScript/Functions/PurchaseWeaponShopItem.cs b/src/Prospect.Server.Api/Services/CloudScript/Functions/PurchaseWeaponShopItem.cs index 8df29de..a07f08d 100644 --- a/src/Prospect.Server.Api/Services/CloudScript/Functions/PurchaseWeaponShopItem.cs +++ b/src/Prospect.Server.Api/Services/CloudScript/Functions/PurchaseWeaponShopItem.cs @@ -155,12 +155,14 @@ public class PurchaseWeaponShopItemFunction : ICloudScriptFunction(userData["ContractsOneTimeCompleted"].Value); - if (completed?.ContractsIDs == null || !completed.ContractsIDs.Contains(blueprintData.UnlockData.ContractLockPurchase)) + if (completed?.ContractsIDs == null || !completed.ContractsIDs.Contains(contractLockPurchase)) { return new PurchaseWeaponShopItemResponse {