From 1e9c26fc9aa42dd7f0ff2bf44ab801b3c396c54b Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 31 十月 2018 15:33:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/HighSettingTip.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/HighSettingTip.cs b/System/MainInterfacePanel/HighSettingTip.cs
index a48b974..4685235 100644
--- a/System/MainInterfacePanel/HighSettingTip.cs
+++ b/System/MainInterfacePanel/HighSettingTip.cs
@@ -286,8 +286,13 @@
}
void OpenTreasure()
{
- WindowCenter.Instance.Close<MainInterfaceWin>();
var _model = ModelCenter.Instance.GetModel<TreasureModel>();
+ if (!_model.SatisfyEntranceOpen())
+ {
+ _model.DisplayEntranceLimitHint();
+ return;
+ }
+ WindowCenter.Instance.Close<MainInterfaceWin>();
if (_model.GetTreasureUnlockShow(TreasureCategory.Human) != 0)
{
_model.currentCategory = TreasureCategory.Human;
--
Gitblit v1.8.0