v0.8.0: tweaked scene fading to always cancel when resizing
This commit is contained in:
parent
b4739b766d
commit
7e58854147
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user