v1.3.2: fixed a crash in gamescene if the player died right as they fell
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user