Skip to content

Commit

Permalink
2.5.4: Minor fix
Browse files Browse the repository at this point in the history
- Fixed global hotkeys no longer working after loading a game twice
  • Loading branch information
UnlimitedHugs committed Jan 4, 2017
1 parent 5f24945 commit fcf7476
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Mods/AllowTool/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<author>UnlimitedHugs</author>
<targetVersion>0.16.0</targetVersion>
<url>https://ludeon.com/forums/index.php?topic=17218.0</url>
<description>Version: 2.5.3
<description>Version: 2.5.4

&lt;size=20&gt;Description&lt;/size&gt;
A set of tools to make handling forbidden items easier.
Expand Down
Binary file modified Mods/AllowTool/Assemblies/AllowTool.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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("2.5.3")]
[assembly: AssemblyFileVersion("2.5.3")]
[assembly: AssemblyVersion("2.5.4")]
[assembly: AssemblyFileVersion("2.5.4")]
2 changes: 1 addition & 1 deletion Source/AllowToolController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public override void OnGUI() {

public override void DefsLoaded() {
PrepareSettingsHandles();
activeDesignators.Clear();
}

public override void WorldLoaded() {
Expand All @@ -70,7 +71,6 @@ public override void SettingsChanged() {
}

private void InjectDesignators() {
activeDesignators.Clear();
var numDesignatorsInjected = 0;
foreach (var designatorDef in DefDatabase<ThingDesignatorDef>.AllDefs) {
if (designatorDef.Injected) continue;
Expand Down

0 comments on commit fcf7476

Please sign in to comment.