Fix lobby not entering race when race status is "started".
-Race was previously stuck in lobby screen when race status was not 2. #Story[782]
This commit is contained in:
@@ -111,8 +111,8 @@ public class Race implements Runnable {
|
||||
AnimationTimer timer = new AnimationTimer() {
|
||||
long currentTime = System.currentTimeMillis();
|
||||
long startTime = currentTime + (PRERACE_TIME / scaleFactor);
|
||||
long minutes;
|
||||
long hours;
|
||||
//long minutes;
|
||||
//long hours;
|
||||
long timeLeft;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -93,6 +93,4 @@ public class BoatTest {
|
||||
TEST_BOAT.setCurrentLeg(start);
|
||||
assertEquals(TEST_BOAT.calculateHeading(), 270, 1e-8);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user