diff --git a/core/mainThread.java b/core/mainThread.java index 83b31a4..8048ff8 100644 --- a/core/mainThread.java +++ b/core/mainThread.java @@ -492,8 +492,13 @@ public class mainThread extends JFrame implements KeyListener, ActionListener, M framePerSecond = (int)(1000/((thisTime - lastTime)/30)); lastTime = thisTime; } +<<<<<<< HEAD sleepTime = 0; while(System.currentTimeMillis()-lastDraw>>>>>> branch 'master' of https://github.com/phu004/JavaRTS.git try { Thread.sleep(1); sleepTime++;