diff --git a/src/gameplay/match/match.java b/src/gameplay/match/match.java index 9e0e2fe..59e8f8e 100644 --- a/src/gameplay/match/match.java +++ b/src/gameplay/match/match.java @@ -127,14 +127,8 @@ public class match { height = Integer.parseInt((String) settings.get("height")); width = Integer.parseInt((String) settings.get("width")); - - } catch (FileNotFoundException e) { + } catch (ParseException | IOException e) { e.printStackTrace(); - } catch (IOException e) { - e.printStackTrace(); - } catch (ParseException e) { - e.printStackTrace(); - } } @@ -363,7 +357,8 @@ public class match { // Tracking update engine.cameraTracking(); - timer = 99 - frameCount/99; + timer = 99 - frameCount/60; + timeStamp2 = System.currentTimeMillis(); while(timeStamp2-timeStamp1<(1000/60)) { timeStamp2 = System.currentTimeMillis();