Skip to content

Commit

Permalink
Fix bot crash drawn text
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jul 4, 2019
1 parent 0ab9de3 commit ec31701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/texts.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const mapGameEventToText = function (event) {
let crashSpeed = event.botCrashDrawn.crashSpeed;
let crashAngle = event.botCrashDrawn.crashAngle;
let speedDiff = event.botCrashDrawn.speedDiff;
let text = `Bot Blue ${event.botCrashDrawn.botBlue} and Yellow ${event.botCrashDrawn.botYellow} `;
let text = `Bot Blue ${event.botCrashDrawn.botBlue} and Yellow ${event.botCrashDrawn.botYellow} crashed`;
if (crashSpeed > 0) {
text += ` with ${velocity(crashSpeed)}`
}
Expand Down

0 comments on commit ec31701

Please sign in to comment.