Skip to content

Commit

Permalink
Fixed path for loading images (broken by new launcher)
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Dec 2, 2022
1 parent 92214e8 commit 5eafdd9
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 27 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ChangeLog

0.5.0.13
Fixed path for loading images (broken by new launcher)

0.5.0.12
Fixed a memory leak

Expand Down
52 changes: 26 additions & 26 deletions KerBalloons.version
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"NAME": "KerBalloons",
"URL": "http://ksp.spacetux.net/avc/KerBalloons",
"DOWNLOAD": "https://github.com/linuxgurugamer/KerBalloons/releases",
"GITHUB": {
"USERNAME": "linuxgurugamer",
"REPOSITORY": "KerBalloons",
"ALLOW_PRE_RELEASE": false
},
"VERSION": {
"MAJOR": 0,
"MINOR": 5,
"PATCH": 0,
"BUILD": 12
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 3
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 0
}
}
{
"NAME": "KerBalloons",
"URL": "http://ksp.spacetux.net/avc/KerBalloons",
"DOWNLOAD": "https://github.com/linuxgurugamer/KerBalloons/releases",
"GITHUB": {
"USERNAME": "linuxgurugamer",
"REPOSITORY": "KerBalloons",
"ALLOW_PRE_RELEASE": false
},
"VERSION": {
"MAJOR": 0,
"MINOR": 5,
"PATCH": 0,
"BUILD": 13
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 4
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 0
}
}
26 changes: 26 additions & 0 deletions KerBalloons.version.1-12-3
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"NAME": "KerBalloons",
"URL": "http://ksp.spacetux.net/avc/KerBalloons",
"DOWNLOAD": "https://github.com/linuxgurugamer/KerBalloons/releases",
"GITHUB": {
"USERNAME": "linuxgurugamer",
"REPOSITORY": "KerBalloons",
"ALLOW_PRE_RELEASE": false
},
"VERSION": {
"MAJOR": 0,
"MINOR": 5,
"PATCH": 0,
"BUILD": 12
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 3
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 0
}
}
2 changes: 1 addition & 1 deletion Kerballoons/KBModuleDataRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public override void OnStart(StartState state)

public void DoReset()
{
string SaveDir = "GameData/KerBalloons/LogData/";
string SaveDir = KSPUtil.ApplicationRootPath + "GameData/KerBalloons/LogData/";
if (!HighLogic.CurrentGame.Parameters.CustomParams<KerBSettings>().saveInModFolder)
{
SaveDir = KSPUtil.ApplicationRootPath + "saves/" + HighLogic.SaveFolder + "/KerBalloonDataLogs/";
Expand Down

0 comments on commit 5eafdd9

Please sign in to comment.