From e1951576fae6e2dcba2a331f614b47d77156b24f Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 04 一月 2019 10:52:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Store/StoreModel.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/System/Store/StoreModel.cs b/System/Store/StoreModel.cs
index ae9a585..fe3615d 100644
--- a/System/Store/StoreModel.cs
+++ b/System/Store/StoreModel.cs
@@ -466,14 +466,14 @@
bool isLimitBuy = TryGetLimitBuy(storeConfig, out canBuyCnt, out addBuyCnt);
if (!isLimitBuy) return false;
- int remainNum = canBuyCnt;
+ remainCnt = canBuyCnt;
BuyShopItemLimit shopItemLimit = GetBuyShopLimit((uint)storeConfig.ID);
if (shopItemLimit != null)
{
- remainNum -= shopItemLimit.BuyCnt;
+ remainCnt -= shopItemLimit.BuyCnt;
}
- if (remainNum <= 0)
+ if (remainCnt <= 0)
{
return true;
}
--
Gitblit v1.8.0