|
|
@@ -60,10 +60,15 @@ public class PKGameSettleView : MonoBehaviour
|
|
|
HomeMgr.DestroyCacheViews();
|
|
|
}
|
|
|
|
|
|
+ JC.CS.Throttler throttlerTryAgainOnline = new JC.CS.Throttler(3000);
|
|
|
public void TryAgain() {
|
|
|
AudioMgr.ins.PlayBtn();
|
|
|
if (GameAssistUI.ins) GameAssistUI.ins.recordPlayerRecordsWhenGameTryAgain();
|
|
|
if (GlobalData.pkMatchType == PKMatchType.OnlinePK) {
|
|
|
+ if (throttlerTryAgainOnline.CanPass() == false) {
|
|
|
+ PopupMgr.ins.ShowTip("操作过于频繁");
|
|
|
+ return;
|
|
|
+ }
|
|
|
PKMatchingView view = PKMatchingView.Create();
|
|
|
view.InitForInviterToTryAgain();
|
|
|
view.eventOnRejectPKInvite += () => {
|