Skip to content

Commit

Permalink
removed deprecated empty / binds file contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
alterNERDtive committed May 19, 2021
1 parent bd3c5ec commit 4cf8788
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ pound sign) to `true` in your VoiceAttack profile.
your VoiceAttack profile to disable automatically syncing Odyssey binds
changes to Horizons binds.

## Removed

* empty plugin context: Invoking the plugin without context no longer gives a
deprecation warning and will instead fail.
* binds file as plugin context: Invoking the plugin with a binds file as context
no longer gives a deprecation warning and will instead fail.

-----

# 3.1 (2021-01-29)
Expand Down
4 changes: 1 addition & 3 deletions bindED.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ public static void VA_Invoke1(dynamic vaProxy)
}
else
{
LogWarn("Invoking the plugin with no context / a .binds file as context is deprecated and will be removed in a future version. Please invoke the 'loadbinds' context instead.");
LogWarn("Bindings are also read automatically on VoiceAttack start and there should be no need to do it explicitly.");
LoadBinds(Binds);
LogError($"Invalid plugin context {context}.");
}
}
catch (Exception e)
Expand Down

0 comments on commit 4cf8788

Please sign in to comment.