mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Do not continue generating the map when the engine is closed
This commit is contained in:
parent
1d3fff08ed
commit
5e41b6c471
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user