v1.3.2: fixed a crash in gamescene if the player died right as they fell

This commit is contained in:
Evan Debenham
2022-07-22 12:41:56 -04:00
parent 345cb9baa5
commit 401a0701e7

View File

@@ -1195,6 +1195,8 @@ public class GameScene extends PixelScene {
}
public static void gameOver() {
if (scene == null) return;
Banner gameOver = new Banner( BannerSprites.get( BannerSprites.Type.GAME_OVER ) );
gameOver.show( 0x000000, 2f );
scene.showBanner( gameOver );