赛跑优化
This commit is contained in:
parent
4b009814f9
commit
e8264aa348
@ -59,6 +59,7 @@ func (r *RaceMod) StartGame() error {
|
||||
OpponentNum := raceCfg.GetRaceNum(r.Pass)
|
||||
r.EndTime = r.StartTime + int64(raceCfg.GetCD(r.Id))
|
||||
r.Opponent = randOpponents(OpponentNum)
|
||||
r.Rank = 1
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user