BattleRole tid 赋值问题
This commit is contained in:
parent
0608014645
commit
9a2a02b9dc
@ -74,6 +74,7 @@ func (this *apiComp) EnterLevel(session comm.IUserSession, req *pb.StonehengeEnt
|
||||
}
|
||||
if len(roles) == len(req.Hid) {
|
||||
for i, v := range req.Hid {
|
||||
roles[i].Tid = 100 + int32(i)
|
||||
stone.Hero[v] = roles[i]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user