From ed6ca0ee3e00477b12789033d370ea0ba02164bc Mon Sep 17 00:00:00 2001 From: kainage Date: Mon, 9 Nov 2020 20:48:04 -0800 Subject: [PATCH] Reset alpha to correct value after flash effect complete --- src/cameras/2d/effects/Flash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cameras/2d/effects/Flash.js b/src/cameras/2d/effects/Flash.js index 07caf8f7f..9a65d1ac6 100644 --- a/src/cameras/2d/effects/Flash.js +++ b/src/cameras/2d/effects/Flash.js @@ -314,7 +314,7 @@ var Flash = new Class({ */ effectComplete: function () { - this._alpha = this.alpha + this.alpha = this._alpha this._onUpdate = null; this._onUpdateScope = null;