v0.8.0: tweaked scene fading to always cancel when resizing

This commit is contained in:
Evan Debenham 2019-12-16 16:50:14 -05:00
parent b4739b766d
commit 7e58854147

View File

@ -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();
}