From ce430f36a2779c39382eef492585c801e4569798 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Fri, 6 Dec 2024 06:43:50 +0100 Subject: [PATCH] fix light --- submarine.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/submarine.js b/submarine.js index 86f4c14..a20392e 100644 --- a/submarine.js +++ b/submarine.js @@ -27,9 +27,7 @@ export class Submarine { this.lightMask.drawCircle(this.app.screen.width / 2, this.app.screen.height / 2, 200); this.lightMask.cut(); - // this.lightMask.drawCircle(this.app.screen.width / 2, this.app.screen.height / 2, 200); this.lightMask.endFill(); - this.updateLightMask(); // Apply the mask to the dark overlay this.dark.mask = this.lightMask;