Skip to content

Commit

Permalink
Keep linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Oct 7, 2022
1 parent d368b7a commit 2f6d768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panel/pets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ abstract class BasePetType implements IPetType {
return this._speed;
}

randomizeSpeed(speed: number) : number {
randomizeSpeed(speed: number): number {
const min = speed * 0.7;
const max = speed * 1.3;
const newSpeed = Math.random() * (max - min) + min;
Expand Down

0 comments on commit 2f6d768

Please sign in to comment.