From e89ec6c1d74ed3d1246b58cef4f1c6f6574f7f91 Mon Sep 17 00:00:00 2001 From: olshab Date: Tue, 28 Nov 2023 22:47:00 +0400 Subject: [PATCH] Fix --- src/AirBomber/BomberForm.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AirBomber/BomberForm.java b/src/AirBomber/BomberForm.java index 4121002..e5a95f4 100644 --- a/src/AirBomber/BomberForm.java +++ b/src/AirBomber/BomberForm.java @@ -18,6 +18,9 @@ public class BomberForm extends JFrame private void Draw() { + if (_bomberRenderer == null) + return; + BufferedImage bmp = new BufferedImage( BomberPictureBox.getWidth(), BomberPictureBox.getHeight(),