v0.8.0: tweaked scene fading to always cancel when resizing
This commit is contained in:
@@ -230,6 +230,7 @@ public class ShatteredPixelDungeon extends Game {
|
|||||||
|
|
||||||
if (scene instanceof PixelScene &&
|
if (scene instanceof PixelScene &&
|
||||||
(height != Game.height || width != Game.width)) {
|
(height != Game.height || width != Game.width)) {
|
||||||
|
PixelScene.noFade = true;
|
||||||
((PixelScene) scene).saveWindows();
|
((PixelScene) scene).saveWindows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user