Skip to content

Commit

Permalink
1.17.5.2
Browse files Browse the repository at this point in the history
Star Wars - The Force (A17)
1.17.5.2 11/4/17
-Fixed issues with powers not loading properly.(edited)
  • Loading branch information
jecrell committed Nov 3, 2017
1 parent 550e041 commit 36a544d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>Star Wars - The Force</name>
<author>Jecrell and Xen</author>
<targetVersion>0.17.0</targetVersion>
<description>Version 1.17.5.1
<description>Version 1.17.5.2

Thanks to Jedi Master Ailan for his direction and inspiration in the creation of this mod. Without his help and support this would have never happened.

Expand Down
Binary file modified Assemblies/ProjectJedi.dll
Binary file not shown.
Binary file modified Source/.vs/ProjectJedi/v15/.suo
Binary file not shown.
27 changes: 14 additions & 13 deletions Source/ProjectJedi/CompForceUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -914,26 +914,27 @@ public override void PostExposeData()
}
}
//}
}

if (Scribe.mode == LoadSaveMode.PostLoadInit)
{
var abilities = new List<ForceAbility>();
if (!this.Powers.NullOrEmpty())
var abilities = new List<ForceAbility>();
if (!this.Powers.NullOrEmpty())
{
foreach (PawnAbility ab in this.Powers)
{
abilities.Add(ab as ForceAbility);
}
if (!abilities.NullOrEmpty())
{
foreach (PawnAbility ab in this.Powers)
foreach (ForceAbility pab in abilities)
{
abilities.Add(ab as ForceAbility);
}
if (!abilities.NullOrEmpty())
{
foreach (ForceAbility pab in abilities)
{
this.RemovePawnAbility(pab.Def);
}
this.RemovePawnAbility(pab.Def);
}
}
}

if (!ForcePowersDark.NullOrEmpty())
if (!ForcePowersDark.NullOrEmpty())
{
foreach (ForcePower power in ForcePowersDark)
{
Expand Down Expand Up @@ -974,8 +975,8 @@ public override void PostExposeData()
}
}
}
this.UpdateAbilities();

}
}
//Log.Message("PostExposeData Called: ForceUser");
}
Expand Down
4 changes: 2 additions & 2 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@

[assembly: Guid("a8e081b6-8768-4fe9-817f-f0ee42cf13ef")]

[assembly: AssemblyVersion("1.17.5.1")]
[assembly: AssemblyFileVersion("1.17.5.1")]
[assembly: AssemblyVersion("1.17.5.2")]
[assembly: AssemblyFileVersion("1.17.5.2")]
Binary file not shown.
Binary file modified Source/obj/Debug/ProjectJedi.dll
Binary file not shown.

0 comments on commit 36a544d

Please sign in to comment.