File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ namespace SkipSplashScreen;
99
1010[ BepInPlugin ( MyPluginInfo . PLUGIN_GUID , MyPluginInfo . PLUGIN_NAME , MyPluginInfo . PLUGIN_VERSION ) ]
1111[ BepInDependency ( SpaceWarpPlugin . ModGuid , SpaceWarpPlugin . ModVer ) ]
12- [ HarmonyPatch ( typeof ( SequentialFlow ) ) ]
1312public class SkipSplashScreenPlugin : BaseSpaceWarpPlugin
1413{
1514 // These are useful in case some other mod wants to add a dependency to this one
@@ -19,7 +18,7 @@ public class SkipSplashScreenPlugin : BaseSpaceWarpPlugin
1918
2019 public void Start ( )
2120 {
22- Harmony . CreateAndPatchAll ( typeof ( SkipSplashScreenPlugin ) . Assembly ) ;
21+ Harmony . CreateAndPatchAll ( typeof ( SkipSplashScreenPlugin ) ) ;
2322 }
2423
2524 public void Update ( )
@@ -31,10 +30,9 @@ public void Update()
3130
3231 if ( GameManager . Instance . Game . GlobalGameState . GetState ( ) == GameState . MainMenu )
3332 Destroy ( this ) ;
34- }
33+ }
3534
36- [ HarmonyPatch ( "AddAction" ) ]
37- [ HarmonyPrefix ]
35+ [ HarmonyPatch ( typeof ( SequentialFlow ) , "AddAction" ) , HarmonyPrefix ]
3836 private static bool SequentialFlow_AddAction ( FlowAction action )
3937 {
4038 if ( action . Name == "Creating Splash Screens Prefab" )
You can’t perform that action at this time.
0 commit comments