This commit is contained in:
2026-07-02 19:09:00 +08:00
parent 939397c7f6
commit 1dd4f6b050
3 changed files with 28 additions and 28 deletions
@@ -128,6 +128,9 @@ namespace Assets.MyGame.Scripts.Net
targetSit.ShowWaiting();
}
fishPanel.JoinGame(notice.position, notice.gold, notice.diamond, notice.cannonMultiple, 0, notice.userId, notice.cannonId, notice.wingsId);
// 后端动态加入的机器人也要标记
if (targetSit != null && !string.IsNullOrEmpty(notice.userId) && notice.userId.StartsWith("bot_"))
targetSit.isBot = true;
}
}
}