From 7e58854147a34fc560b0208cc26488496e9f7cb3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 16 Dec 2019 16:50:14 -0500 Subject: [PATCH] v0.8.0: tweaked scene fading to always cancel when resizing --- .../shatteredpixeldungeon/ShatteredPixelDungeon.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java index e0df0b76e..a9520e9de 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java @@ -230,6 +230,7 @@ public class ShatteredPixelDungeon extends Game { if (scene instanceof PixelScene && (height != Game.height || width != Game.width)) { + PixelScene.noFade = true; ((PixelScene) scene).saveWindows(); }