diff --git a/sigIRCv2.jar b/sigIRCv2.jar index f4ccab4..f2f1900 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/MyPanel.java b/src/sig/MyPanel.java index 07b2ecc..061886d 100644 --- a/src/sig/MyPanel.java +++ b/src/sig/MyPanel.java @@ -72,15 +72,18 @@ public class MyPanel extends JPanel implements MouseListener, ActionListener, Mo }*/ // for (int i=0;i=MSGTIMER) { - last_authentication_msg=0; - sigIRC.panel.addMessage("SYSTEM: Your oauthToken was not successful. Please go to the sigIRC folder and make sure your oauthToken.txt file is correct!!! SwiftRage"); - } - if (last_autosave=AUTOSAVETIMER) { - last_autosave=0; - sigIRC.windowX = sigIRC.window.getX(); - sigIRC.windowY = sigIRC.window.getY(); - sigIRC.windowWidth = sigIRC.window.getWidth(); - sigIRC.windowHeight = sigIRC.window.getHeight(); - sigIRC.config.setInteger("windowX", sigIRC.windowX); - sigIRC.config.setInteger("windowY", sigIRC.windowY); - sigIRC.config.setInteger("windowWidth", sigIRC.windowWidth); - sigIRC.config.setInteger("windowHeight", sigIRC.windowHeight); - sigIRC.config.saveProperties(); - } - if (sigIRC.lastPlayedDing>0) { - sigIRC.lastPlayedDing--; + if (sigIRC.downloadsComplete) { + if (!sigIRC.authenticated && last_authentication_msg=MSGTIMER) { + last_authentication_msg=0; + sigIRC.panel.addMessage("SYSTEM: Your oauthToken was not successful. Please go to the sigIRC folder and make sure your oauthToken.txt file is correct!!! SwiftRage"); + } + if (last_autosave=AUTOSAVETIMER) { + last_autosave=0; + sigIRC.windowX = sigIRC.window.getX(); + sigIRC.windowY = sigIRC.window.getY(); + sigIRC.windowWidth = sigIRC.window.getWidth(); + sigIRC.windowHeight = sigIRC.window.getHeight(); + sigIRC.config.setInteger("windowX", sigIRC.windowX); + sigIRC.config.setInteger("windowY", sigIRC.windowY); + sigIRC.config.setInteger("windowWidth", sigIRC.windowWidth); + sigIRC.config.setInteger("windowHeight", sigIRC.windowHeight); + sigIRC.config.saveProperties(); + } + if (sigIRC.lastPlayedDing>0) { + sigIRC.lastPlayedDing--; + } + updateFPSCounter(); + sigIRC.window.setTitle("sigIRCv2 - "+(avgfps)+" FPS"); + lasttime=System.currentTimeMillis(); } - updateFPSCounter(); - sigIRC.window.setTitle("sigIRCv2 - "+(avgfps)+" FPS"); - lasttime=System.currentTimeMillis(); } public void updateFPSCounter() {