Minor bug fixes (like all enemy sails being toggled in when they should be out)

#story[1274]
This commit is contained in:
Kusal Ekanayake
2017-09-20 21:07:49 +12:00
parent 307e79ecfc
commit c4a6113f6c
3 changed files with 2 additions and 2 deletions
@@ -569,6 +569,7 @@ public class GameView3D {
}
public void setBoatAsPlayer (ClientYacht playerYacht) {
playerYacht.toggleSail();
playerBoatAnimationTimer = new AnimationTimer() {
double count = 60;
@@ -115,7 +115,6 @@ public class BoatCustomizeController implements Initializable{
public void setCurrentBoat(String boatType) {
Group group = new Group();
this.currentBoat = BoatMeshType.getBoatMeshType(boatType);
System.out.println(boatType.toString());
boatPane.setBackground(new Background(new BackgroundFill(Color.SKYBLUE, CornerRadii.EMPTY, Insets.EMPTY)));
boatPane.getChildren().add(group);
BoatModel bo = ModelFactory.boatCustomiseView(currentBoat, colorPicker.getValue());