Skip to content

Commit

Permalink
Update to version 20.04.26_b0049
Browse files Browse the repository at this point in the history
- fix wrong import of statistic data
  • Loading branch information
Blacky_BPG committed Apr 26, 2020
1 parent a3d8d08 commit a06b2af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
except ImportError:
config = dict()

APP_VERSION = "20.04.12_b1848"
APP_VERSION = "20.04.26_b0049"

CFG_DISTANCE = "JumpSpeed_distance"
CFG_JUMPS = "JumpSpeed_jumps"
Expand Down Expand Up @@ -350,7 +350,7 @@ def journal_entry(cmdr, system, station, entry, state):
if "LoadGame" in entry["event"]:
this.jumpspeed.starttime()
elif "Statistics" in entry["event"]:
this.jumpspeed.start_data(entry["Total_Hyperspace_Distance"], entry["Total_Hyperspace_Jumps"], entry["Time_Played"])
this.jumpspeed.start_data(entry["Exploration"]["Total_Hyperspace_Distance"], entry["Exploration"]["Total_Hyperspace_Jumps"], entry["Exploration"]["Time_Played"])
elif "FSDJump" in entry["event"]:
this.jumpspeed.jump(entry["JumpDist"])

Expand Down

0 comments on commit a06b2af

Please sign in to comment.