From 4dca36c90cc366db1a82b50cba6a89fb60ac4bd3 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 04 一月 2019 10:41:01 +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