Skip to content

Commit 41bedf1

Browse files
committed
Fix null reference in tutorial
1 parent 2edbe2d commit 41bedf1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FastFail/Plugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void OnDisable()
3434

3535
private void OnGameSceneLoaded()
3636
{
37-
if (Configuration.Instance.enabled && !BS_Utils.Plugin.LevelData.Mode.Equals(BS_Utils.Gameplay.Mode.Multiplayer))
37+
if (Configuration.Instance.enabled && !(BS_Utils.Plugin.LevelData.Mode.Equals(BS_Utils.Gameplay.Mode.Multiplayer) || BS_Utils.Plugin.LevelData.Mode.Equals(BS_Utils.Gameplay.Mode.None)))
3838
{
3939
new GameObject("FailSkip Behavior").AddComponent<FailSkip>();
4040
}

FastFail/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.0.0")]
36-
[assembly: AssemblyFileVersion("2.0.0")]
35+
[assembly: AssemblyVersion("2.0.1")]
36+
[assembly: AssemblyFileVersion("2.0.1")]

FastFail/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"gameVersion": "1.12.2",
66
"id": "FastFail",
77
"name": "FastFail",
8-
"version": "2.0.0",
8+
"version": "2.0.1",
99
"dependsOn": {
1010
"BeatSaberMarkupLanguage": "^1.3.5",
1111
"BS Utils": "^1.5.0",

0 commit comments

Comments
 (0)