From 0012445c0109fa67987800a1bac8f32e989b2d19 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 15 八月 2018 15:16:01 +0800
Subject: [PATCH] Merge branch 'master' into leonard

---
 System/Vip/SupremeRechargeWin.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Vip/SupremeRechargeWin.cs b/System/Vip/SupremeRechargeWin.cs
index 958ed39..e5ff71c 100644
--- a/System/Vip/SupremeRechargeWin.cs
+++ b/System/Vip/SupremeRechargeWin.cs
@@ -56,7 +56,7 @@
             var _specialIndex = list.FindIndex((x) =>
             {
                 var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x);
-                return config.PayType == 3;
+                return config != null && config.PayType == 3;
             });
             if (_specialIndex != -1)
             {
@@ -70,7 +70,7 @@
             var _specialIndex = list.FindIndex((x) =>
             {
                 var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x);
-                return config.PayType == 3;
+                return config != null && config.PayType == 3;
             });
             if (_specialIndex != -1)
             {

--
Gitblit v1.8.0