修复编译不过

This commit is contained in:
huangxiaolei committed 2022-11-23 20:23:38 +08:00
1 parent 1e4c9e6422
commit 01bcaa0309
3 files changed
+1049 -7

No files matched your search

+2 -2
View File
@@ -286,10 +286,10 @@ func (g *GameManager) DoGachaReq(player *model.Player, payloadMsg pb.Message) {
xh := uint32(random.GetRandomInt32(0, 10))
gachaItem := new(proto.GachaItem)
gachaItem.GachaItem_ = &proto.ItemParam{
gachaItem.TokenItemList = []*proto.ItemParam{{
ItemId: itemId,
Count: 1,
}
}}
// 星尘
if xc != 0 {
g.AddUserItem(player.PlayerID, []*UserItem{{