Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DreadKnight committed Oct 27, 2024
1 parent 08fb4c9 commit 391e5f7
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/utility/hexgrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ export class HexGrid {
this.secondary_overlay.alpha = 0;
}

if(this._flickerTween){
if (this._flickerTween) {
this._flickerTween.stop(true);
}

Expand Down Expand Up @@ -1677,16 +1677,17 @@ export class HexGrid {
}

this._flickerTween = game.Phaser.add
.tween(preview).to(
{
alpha: 0.15,
},
777,
Phaser.Easing.Linear.None,
)
.yoyo(true)
.repeat(-1)
.start();
.tween(preview)
.to(
{
alpha: 0.15,
},
777,
Phaser.Easing.Linear.None,
)
.yoyo(true)
.repeat(-1)
.start();

for (let i = 0, size = creatureData.size; i < size; i++) {
const hexInstance = this.hexes[pos.y][pos.x - i];
Expand Down

0 comments on commit 391e5f7

Please sign in to comment.