mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
Do not continue generating the map when the engine is closed
This commit is contained in:
1 parent
1d3fff08ed
commit
5e41b6c471
1 file changed
+5
@@ -434,6 +434,11 @@ public class VisionGUI extends JPanel implements MouseWheelListener, KeyListener
|
||||
|
||||
@Override
|
||||
public void paint(Graphics gx) {
|
||||
|
||||
if(engine.isClosed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(updateEngine()) {
|
||||
dump();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user