diff --git a/bin/SigShare.jar b/bin/SigShare.jar index a4ad3a4..1b5ba8b 100644 Binary files a/bin/SigShare.jar and b/bin/SigShare.jar differ diff --git a/src/sig/SigShare.java b/src/sig/SigShare.java index 60cb0fb..a3266c0 100644 --- a/src/sig/SigShare.java +++ b/src/sig/SigShare.java @@ -124,6 +124,7 @@ public class SigShare { in.readLine(); LAST_CLEANUP=System.currentTimeMillis(); } else { + subupdate: for (int y=0;y=CLEANUP_FREQUENCY) { + break subupdate; + } img[y*newCapture.getWidth()+x]=newPixel; //System.out.println("Changes ("+gridX+","+gridY+"): "+changes[gridY*REGION_X_COUNT+gridX]); if (!REGION_CHECK.containsKey((char)(gridY*REGION_X_COUNT+gridX))) { @@ -144,7 +148,7 @@ public class SigShare { if (gridX>0) { changes[(gridY)*REGION_X_COUNT+(gridX-1)]+=1; } - if (gridX=CHANGE_THRESHOLD) { @@ -157,7 +161,7 @@ public class SigShare { if (gridX>0) { changes[(gridY)*REGION_X_COUNT+(gridX-1)]+=CHANGE_THRESHOLD/2; } - if (gridX