1 velocity on baton pass

This commit is contained in:
Luke Meyers 2020-02-08 21:26:05 -08:00
parent d88c41d782
commit f06400d905
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func maybePassBaton(s State, teamID int) State {
h.Kinetics.A = 0 h.Kinetics.A = 0
s = updateRacer(s, *h) s = updateRacer(s, *h)
newH := t.Racers[i] newH := t.Racers[i]
//newH.Kinetics.A = baseAccel newH.Kinetics.V = 1
t.Baton.HolderID = newH.ID t.Baton.HolderID = newH.ID
s = updateTeam(s, t) s = updateTeam(s, t)
return updateRacer(s, newH) return updateRacer(s, newH)