correction timer update
This commit is contained in:
parent
c4e3c9623d
commit
fc7b2b7945
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user