Skip to content

Commit c91d67e

Browse files
committed
Fixed the annoying freeze bug
1 parent 798ed9f commit c91d67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ee/liiser/siim/galaxies/drawing/GraphicsThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public synchronized void run() {
2323
long start = 0;
2424
long maxFrame = (long) (1000 / fps);
2525
while (true) {
26-
if (frametime > maxFrame) {
26+
if (frametime >= maxFrame) {
2727
System.out.println(frametime);
2828
} else {
2929
try {

0 commit comments

Comments
 (0)