v2.5.0: re-added skip to interlevelscene when debugging
This commit is contained in:
+2
-2
@@ -210,7 +210,7 @@ public class InterlevelScene extends PixelScene {
|
|||||||
Random.popGenerator();
|
Random.popGenerator();
|
||||||
|
|
||||||
if (DeviceCompat.isDebug()){
|
if (DeviceCompat.isDebug()){
|
||||||
fadeTime = 1f;
|
fadeTime = 0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
Image background = new Image(loadingAsset);
|
Image background = new Image(loadingAsset);
|
||||||
@@ -266,7 +266,7 @@ public class InterlevelScene extends PixelScene {
|
|||||||
align(loadingText);
|
align(loadingText);
|
||||||
add(loadingText);
|
add(loadingText);
|
||||||
|
|
||||||
if (mode == Mode.DESCEND && lastRegion <= 5){
|
if (mode == Mode.DESCEND && lastRegion <= 5 && !DeviceCompat.isDebug()){
|
||||||
if (Dungeon.hero == null || (loadingDepth > Statistics.deepestFloor && loadingDepth % 5 == 1)){
|
if (Dungeon.hero == null || (loadingDepth > Statistics.deepestFloor && loadingDepth % 5 == 1)){
|
||||||
storyMessage = PixelScene.renderTextBlock(Document.INTROS.pageBody(region), 6);
|
storyMessage = PixelScene.renderTextBlock(Document.INTROS.pageBody(region), 6);
|
||||||
storyMessage.maxWidth( PixelScene.landscape() ? 180 : 125);
|
storyMessage.maxWidth( PixelScene.landscape() ? 180 : 125);
|
||||||
|
|||||||
Reference in New Issue
Block a user