modify tienlen

This commit is contained in:
sk 2024-12-23 18:23:55 +08:00
parent 2176efcdf0
commit e32a8f0adc
1 changed files with 0 additions and 9 deletions

View File

@ -4,7 +4,6 @@ import (
"fmt"
"math"
"math/rand"
"slices"
"sort"
"time"
@ -2678,14 +2677,6 @@ func (this *SceneBilledStateTienLen) OnEnter(s *base.Scene) {
}
}
}
pack.WinSnids = sceneEx.winSnids
for _, v := range pack.Datas {
if !slices.Contains(pack.WinSnids, v.GetSnId()) {
pack.WinSnids = append(pack.WinSnids, v.GetSnId())
break
}
}
proto.SetDefaults(pack)
s.Broadcast(int(tienlen.TienLenPacketID_PACKET_SCTienLenGameBilled), pack, 0)
logger.Logger.Trace("TienLenPacketID_PACKET_SCTienLenGameBilled gameFreeId:", sceneEx.GetGameFreeId(), ";pack:", pack)