Skip to content

Commit

Permalink
Fixed small error in previous fix in path for loading files (broken …
Browse files Browse the repository at this point in the history
…by new launcher)
  • Loading branch information
linuxgurugamer committed Dec 7, 2022
1 parent a41b9d2 commit 3cf614a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ChangeLog

2.0.4.3
Fixed small error in previous fix in path for loading files (broken by new launcher)

2.0.4.2
Fixed path for loading configs (broken by new launcher)
Fixed memory leak caused by not removing callbacks
Expand Down
2 changes: 1 addition & 1 deletion ThroughTheEyes.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 2,
"MINOR": 0,
"PATCH": 4,
"BUILD": 2
"BUILD": 3
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
5 changes: 3 additions & 2 deletions ThroughTheEyes/ConfigUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ namespace FirstPerson

public static class ConfigUtil
{
static string configDir = "GameData/ThroughTheEyes/PluginData";
static string configDir { get { return KSPUtil.ApplicationRootPath + "GameData/ThroughTheEyes/PluginData"; } }

static string _configPath = configDir + "/options.cfg";
static string ConfigPath { get { return KSPUtil.ApplicationRootPath + _configPath; } }
static string ConfigPath { get { return _configPath; } }
static ConfigNode cfg;

private static void SaveConfigFile()
Expand Down

0 comments on commit 3cf614a

Please sign in to comment.