Skip to content

Commit

Permalink
v1.8 build for 0.90 and minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Dec 15, 2014
1 parent 62fd41d commit 5442231
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.0.0")]
[assembly: AssemblyFileVersion("1.7.0.0")]
[assembly: KSPAssembly("DDSLoader", 1, 7)]
[assembly: AssemblyVersion("1.7.0.0")] // Don't change this one anymore
[assembly: AssemblyFileVersion("1.8.0.0")]
[assembly: KSPAssembly("DDSLoader", 1, 0)] // Don't change this one either
13 changes: 8 additions & 5 deletions Settings.cs
Expand Up @@ -61,13 +61,16 @@ public void Awake()

foreach (ConfigNode overrides in config.GetNodes("OVERRIDES"))
{
foreach (ConfigNode texture in overrides.nodes)
if (overrides.nodes != null)
{
string readable = texture.GetValue("make_not_readable");
if (readable != null && readable == "false")
foreach (ConfigNode texture in overrides.nodes)
{
Regex re = new Regex(texture.name, RegexOptions.None);
readableList.Add(re);
string readable = texture.GetValue("make_not_readable");
if (readable != null && readable == "false")
{
Regex re = new Regex(texture.name, RegexOptions.None);
readableList.Add(re);
}
}
}
}
Expand Down

0 comments on commit 5442231

Please sign in to comment.