Skip to content

Commit

Permalink
Version bump, 1.7.2. Updated for Beat Saber 1.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zingabopp committed Oct 23, 2020
1 parent d6c1212 commit 13b0504
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
12 changes: 1 addition & 11 deletions BailOutMode/BailOutController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public bool IsEnabled
{
get
{
return Configuration.instance.IsEnabled && (!isCampaign);
return Configuration.instance.IsEnabled && BS_Utils.Plugin.LevelData.Mode == BS_Utils.Gameplay.Mode.Standard;
}
}

Expand Down Expand Up @@ -128,16 +128,6 @@ public void Start()
private IEnumerator Initialize()
{
yield return new WaitForSeconds(0.5f);
//Logger.Trace("Checking for Campaign mode");
if (GameObject.FindObjectsOfType<MissionGameplaySceneSetup>().Count() > 0)
{
Logger.log.Info("Campaign mode detected, BailOutMode unavailable.");
isCampaign = true;
}
else
{
isCampaign = false;
}
if ((GameManager != null) && (EnergyCounter != null) && IsEnabled)
{
Logger.log.Info("BailOutMode enabled");
Expand Down
11 changes: 6 additions & 5 deletions BailOutMode/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"author": "Zingabopp",
"id": "bailoutmode",
"description": "Allows you to continue playing songs without posting a score if you fail, but allows you to post scores if you don't.",
"version": "1.7.1",
"gameVersion": "1.11.0",
"version": "1.7.2",
"gameVersion": "1.12.2",
"dependsOn": {
"BS Utils": "^1.4.11",
"BeatSaberMarkupLanguage": "^1.3.3"
"BSIPA": "^4.1.3",
"BS Utils": "^1.6.0",
"BeatSaberMarkupLanguage": "^1.4.0"
},
"links": {
"project-source": "https://github.com/Zingabopp/OBSControl",
"project-source": "https://github.com/Zingabopp/BailOutMode",
"donate": "https://ko-fi.com/zingabopp"
}
}

0 comments on commit 13b0504

Please sign in to comment.