Skip to content

Commit

Permalink
Update MainPanel.java
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddevanesch committed Apr 6, 2023
1 parent 7547e08 commit ddc8019
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/nl/group5b/gui/elements/MainPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ private void renderAddVehiclePopup() {
vehicleSpawnPosition = new float[]{0, 0};
vehicleSpawnRotation = new float[]{0};
maxSpeed = 0;
thirdPersonCamera.setBody(selectedVehicle);
thirdPersonCamera.resetView();

}

Expand Down

0 comments on commit ddc8019

Please sign in to comment.