Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Version 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-Gecko committed Oct 1, 2016
1 parent 9f3eaa3 commit 43a58e9
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 172 deletions.
7 changes: 4 additions & 3 deletions BonVoyage/BonVoyage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,10 @@ public void Update() {
rover.lastTime = currentTime;

// Save data to protovessel
rover.vesselConfigNode.SetValue ("lat", rover.vessel.latitude.ToString());
rover.vesselConfigNode.SetValue ("lon", rover.vessel.longitude.ToString());
rover.vesselConfigNode.SetValue ("alt", rover.vessel.altitude.ToString ());
rover.vesselConfigNode.SetValue("lat", rover.vessel.latitude.ToString());
rover.vesselConfigNode.SetValue("lon", rover.vessel.longitude.ToString());
rover.vesselConfigNode.SetValue("alt", rover.vessel.altitude.ToString());
rover.vesselConfigNode.SetValue("landedAt", rover.vessel.mainBody.bodyName);
rover.BVModule.SetValue ("distanceTravelled", (rover.distanceTravelled).ToString ());
rover.BVModule.SetValue ("lastTime", currentTime.ToString ());
rover.vessel.protoVessel = new ProtoVessel(rover.vesselConfigNode, HighLogic.CurrentGame);
Expand Down
Loading

0 comments on commit 43a58e9

Please sign in to comment.