赛跑优化

This commit is contained in:
hahwu 2025-04-02 12:31:02 +08:00
parent 4b009814f9
commit e8264aa348

View File

@ -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
}