9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-25 18:19:14 +00:00

Do not continue generating the map when the engine is closed

This commit is contained in:
CocoTheOwner
2022-01-25 10:53:46 +01:00
parent 1d3fff08ed
commit 5e41b6c471

View File

@@ -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();
}