This commit is contained in:
2026-10-07 16:37:55 +08:00
parent 4703835d99
commit 5285beedc0
5 changed files with 135 additions and 34 deletions
@@ -590,6 +590,10 @@ namespace Assets.MyGame.Scripts.Net
return;
}
var userid = response.arguments[0];
// ⭐ 该玩家没走完的 not-self"爆奖中"BJEndUI 一并清掉:
// 爆奖中途退房的人不会再发 baoJiangEnd,面板会残留在座位上,
// 下一个坐进该座位的玩家会看到这块旧面板(30 秒安全超时还会对着新玩家弹结算)
BaoJiangNotSelfHandler.RemoveByUser(userid);
switch (GameManager.Instance.gameData.currGameType)
{
case GameType.JQQD:
@@ -1015,6 +1019,8 @@ namespace Assets.MyGame.Scripts.Net
public static void BotLeaveRoom(string botUserId)
{
if (string.IsNullOrEmpty(botUserId)) return;
// ⭐ 机器人爆奖中途退房:同样清掉其未完成的"爆奖中"BJEndUI(同真人退房)
BaoJiangNotSelfHandler.RemoveByUser(botUserId);
switch (GameManager.Instance.gameData.currGameType)
{
case GameType.FLZY: