From 391e5f7e3a293ebbd22701e562c2531c1c6d15d2 Mon Sep 17 00:00:00 2001 From: DreadKnight Date: Sun, 27 Oct 2024 04:05:02 +0200 Subject: [PATCH] linting --- src/utility/hexgrid.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/utility/hexgrid.ts b/src/utility/hexgrid.ts index 984db9005..e7cc9d83b 100644 --- a/src/utility/hexgrid.ts +++ b/src/utility/hexgrid.ts @@ -874,7 +874,7 @@ export class HexGrid { this.secondary_overlay.alpha = 0; } - if(this._flickerTween){ + if (this._flickerTween) { this._flickerTween.stop(true); } @@ -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];