Skip to content

Commit

Permalink
Replace call to GetExecutingAssembly
Browse files Browse the repository at this point in the history
  • Loading branch information
Keelhauled committed Dec 4, 2019
1 parent 95c978e commit 6bf82ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LockOnPlugin.Core/TargetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static void LoadData()

private static void LoadResourceData()
{
var ass = Assembly.GetExecutingAssembly();
var ass = typeof(LockOnPluginCore).Assembly;
var resourceName = $"{ass.GetName().Name}.{dataFileName}";

using(var stream = ass.GetManifestResourceStream(resourceName))
Expand Down

0 comments on commit 6bf82ff

Please sign in to comment.