Issue #73: If you change controls to 'Continuously turning' before moving into game, it is not applied

- always send turning mode packet when race starts to sync the steering mode

#story[1278]
This commit is contained in:
Haoming Yin
2017-09-27 20:18:06 +13:00
parent c5d2016733
commit 22e1e57c24
3 changed files with 7 additions and 16 deletions
@@ -15,7 +15,6 @@ import java.util.TimerTask;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXMLLoader;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.Pane;
@@ -270,7 +269,7 @@ public class GameClient {
formatAndSendChatMessage(raceView.readChatInput());
}
});
sendToggleTurningModePacket(); // notify the server about player's steering mode
}
}