From d6f08eeedf4b5e8cdbb5a778ed4a1cb9698215a4 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 15 十二月 2021 14:34:15 +0800 Subject: [PATCH] 5310 【BT3_1.102.1】【BT4】【BT5】【主干】【gt_1.102.1】喜宴期间离婚出现的异常(优化为和离中无法再次发起提亲) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py index bb25a91..fb555df 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py @@ -910,6 +910,10 @@ GameWorld.Log("已成亲伴侣ID不一致,无法提亲! tagPlayerID(%s) != coupleID(%s)" % (tagPlayerID, coupleID), playerID) return + if couple.GetBreakRequestID(): + PlayerControl.NotifyCode(curPlayer, "LimitByMarryBroke") # 和离中无法操作 + return + ipyData = IpyGameDataPY.GetIpyGameData("Marry", bridePriceID) if not ipyData: return -- Gitblit v1.8.0