This commit is contained in:
aozhiwei 2024-02-02 13:59:24 +08:00
parent bbbc3d6401
commit 14f6d60ff0

View File

@ -298,6 +298,7 @@ func (this *roomMgr) CMSwitchTeam(hdr *f5.MsgHdr, msg *cs.CMSwitchTeam) {
}
roomPtr.removeObTeam(t)
roomPtr.addTeam(t)
roomPtr.autoStartCountdown()
} else {
t := roomPtr.getTeamById(msg.GetTeamId())
if t == nil {