This commit is contained in:
Stephen McQuay 2014-04-26 15:24:20 -07:00
parent bd1d861971
commit 2a9c178ebb

View File

@ -267,7 +267,7 @@ func (r *Robot) Tick(g *Game) {
r.TargetSpeed = r.Stats.Speed r.TargetSpeed = r.Stats.Speed
} }
if r.TargetSpeed < -1.0 * r.Stats.Speed { if r.TargetSpeed < -1.0*r.Stats.Speed {
r.TargetSpeed = -1.0 * r.Stats.Speed r.TargetSpeed = -1.0 * r.Stats.Speed
} }