reset kinetics on respawn

This commit is contained in:
Luke Meyers 2020-02-08 15:44:16 -08:00
parent 402b83fbf1
commit 9df7e73940
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ func destroyRacer(s State, r Racer) State {
// spawn racer back at starting position
r.Position = r.StartPos
r.Kinetics = Kinetics{}
return updateRacer(s, r)
}