소스 검색

Fix NPR Shader breaking

MPS patches the same method that NPR Shader patches and I guess this is
the best way to fix it.

Thanks to Guest4168 for having the same exact issue and bringing it up
to ghorsington who fixed the problem in UnityInjectorLoader.
habeebweeb 4 년 전
부모
커밋
69801fbf8b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

+ 2 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.IO;
 using System.Collections;
 using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using Input = InputManager;
     [BepInPlugin(pluginGuid, pluginName, pluginVersion)]
+    [BepInDependency("org.bepinex.plugins.unityinjectorloader", BepInDependency.DependencyFlags.SoftDependency)]
     public class MeidoPhotoStudio : BaseUnityPlugin
     {
         private static readonly CameraMain mainCamera = GameMain.Instance.MainCamera;