From 734966ee22df14a5b405ecb450ca6c7ec2c9841b Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 03 四月 2019 14:59:58 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Auction/AuctionModel.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/System/Auction/AuctionModel.cs b/System/Auction/AuctionModel.cs
index 7e024c1..fcb736e 100644
--- a/System/Auction/AuctionModel.cs
+++ b/System/Auction/AuctionModel.cs
@@ -342,13 +342,13 @@
}
var index = config.TypeId;
- if (config.ChooseItem1 != null && config.ChooseItem1.Length > 0)
+ if (config.ChooseItem1 != null && childClassifyIndex.x < config.ChooseItem1.Length)
{
- index += childClassifyIndex.x;
+ index += config.ChooseItem1[childClassifyIndex.x];
}
- if (config.ChooseItem2 != null && config.ChooseItem2.Length > 0)
+ if (config.ChooseItem2 != null && childClassifyIndex.y < config.ChooseItem2.Length)
{
- index += childClassifyIndex.y;
+ index += config.ChooseItem2[childClassifyIndex.y];
}
return index;
}
--
Gitblit v1.8.0