From 6a55674d0c1993c8dca04ca954aa74a3aab08d24 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:30:56 +0100 Subject: [PATCH] Removed unused options from base-stats-overlay --- src/ui/base-stats-overlay.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ui/base-stats-overlay.ts b/src/ui/base-stats-overlay.ts index 30520bdf3ec..ba6f6f7fc83 100644 --- a/src/ui/base-stats-overlay.ts +++ b/src/ui/base-stats-overlay.ts @@ -29,8 +29,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple private statsBg: Phaser.GameObjects.NineSlice; - private options: BaseStatsOverlaySettings; - public scale: number; public width: number; @@ -38,7 +36,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple super(globalScene, options?.x, options?.y); this.scale = options?.scale || 1; // set up the scale this.setScale(this.scale); - this.options = options || {}; // prepare the description box this.width = (options?.width || BaseStatsOverlay.getWidth(this.scale)) / this.scale; // divide by scale as we always want this to be half a window wide