Skip to content

Commit

Permalink
*fixed Language using the new class path
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphyum committed Nov 10, 2018
1 parent 7249906 commit a462138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModTek/Patches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static void Postfix(object __instance)
[HarmonyPatch(typeof(AVPVideoPlayer), "PlayVideo")]
public static class AVPVideoPlayer_PlayVideo_Patch
{
public static bool Prefix(AVPVideoPlayer __instance, string video, AVPVideoPlayer.Language language, Action<string> onComplete = null)
public static bool Prefix(AVPVideoPlayer __instance, string video, Language language, Action<string> onComplete = null)
{
if (!ModTek.ModVideos.ContainsKey(video))
return true;
Expand Down

0 comments on commit a462138

Please sign in to comment.