Skip to content

Commit

Permalink
Fix for 1.26.0 - LightTranslationEventBoxGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
zeph-yr committed Nov 12, 2022
1 parent c8eda50 commit b4d06e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class StandardLevelDetailViewPatch
{
static async void Prefix(IBeatmapLevel level) // Turns out can have an async Patch!
{
Plugin.Log.Debug("SetContent");
//Plugin.Log.Debug("SetContent");

if (PluginConfig.Instance.enabled == false || BS_Utils.Plugin.LevelData.Mode == BS_Utils.Gameplay.Mode.Multiplayer || BS_Utils.Plugin.LevelData.Mode == BS_Utils.Gameplay.Mode.Mission)
{
Expand Down Expand Up @@ -56,7 +56,7 @@ static async void Prefix(IBeatmapLevel level) // Turns out can have an async Pat
return;
}

Plugin.Log.Debug("Index: " + index);
//Plugin.Log.Debug("Index: " + index);

MirrorTransforms.rand = new System.Random(99);

Expand Down Expand Up @@ -141,7 +141,7 @@ internal static async Task<CustomDifficultyBeatmap> Create_Difficulty_Async(IDif
Plugin.Log.Debug("ME-NE map: yeeting walls");
}

BeatmapSaveData print_data = ((CustomDifficultyBeatmap)i).beatmapSaveData;
//BeatmapSaveData print_data = ((CustomDifficultyBeatmap)i).beatmapSaveData;
//Plugin.Log.Debug("DATA: " + print_data.SerializeToJSONString());


Expand Down
8 changes: 4 additions & 4 deletions MirrorTransforms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ internal static BeatmapSaveData Mirror_Horizontal(BeatmapSaveData beatmapSaveDat

return new BeatmapSaveData(beatmapSaveData.bpmEvents, beatmapSaveData.rotationEvents, h_colorNotes, h_bombNotes, h_obstacleDatas, h_sliderDatas,
h_burstSliderDatas, beatmapSaveData.waypoints, beatmapSaveData.basicBeatmapEvents, beatmapSaveData.colorBoostBeatmapEvents,
beatmapSaveData.lightColorEventBoxGroups, beatmapSaveData.lightRotationEventBoxGroups, beatmapSaveData.basicEventTypesWithKeywords,
beatmapSaveData.useNormalEventsAsCompatibleEvents);
beatmapSaveData.lightColorEventBoxGroups, beatmapSaveData.lightRotationEventBoxGroups, beatmapSaveData.lightTranslationEventBoxGroups, // 1.26.0 added LightTranslationEventBoxGroup
beatmapSaveData.basicEventTypesWithKeywords, beatmapSaveData.useNormalEventsAsCompatibleEvents);
}


Expand Down Expand Up @@ -121,8 +121,8 @@ internal static BeatmapSaveData Mirror_Vertical(BeatmapSaveData beatmapSaveData,

return new BeatmapSaveData(beatmapSaveData.bpmEvents, beatmapSaveData.rotationEvents, v_colorNotes, v_bombNotes, v_obstacleDatas, v_sliderDatas,
v_burstSliderDatas, beatmapSaveData.waypoints, beatmapSaveData.basicBeatmapEvents, beatmapSaveData.colorBoostBeatmapEvents,
beatmapSaveData.lightColorEventBoxGroups, beatmapSaveData.lightRotationEventBoxGroups, beatmapSaveData.basicEventTypesWithKeywords,
beatmapSaveData.useNormalEventsAsCompatibleEvents);
beatmapSaveData.lightColorEventBoxGroups, beatmapSaveData.lightRotationEventBoxGroups, beatmapSaveData.lightTranslationEventBoxGroups,
beatmapSaveData.basicEventTypesWithKeywords, beatmapSaveData.useNormalEventsAsCompatibleEvents);
}


Expand Down
2 changes: 1 addition & 1 deletion ModUI.bsml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<text text='Special request from Aroc. Thanks!' font-color='#ffff00ff' font-size='3' align='Center'></text>
</horizontal>
<horizontal>
<text text='Chirality (MirrorMod) v2.0.1 by Zephyr#9125' font-color='#ff0080ff' font-size='3' align='Center' hover-hint='Instructions at github.com/zeph-yr/Chirality'></text>
<text text='Chirality (MirrorMod) v3.0.0 by Zephyr#9125' font-color='#ff0080ff' font-size='3' align='Center' hover-hint='Instructions at github.com/zeph-yr/Chirality'></text>
</horizontal>
</vertical>
</bg>
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.1")]
[assembly: AssemblyFileVersion("2.0.1")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.0")]
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"id": "Chirality",
"name": "Chirality",
"author": "Zephyr",
"version": "2.0.1",
"version": "3.0.0",
"description": "",
"gameVersion": "1.20.0",
"gameVersion": "1.26.0",
"dependsOn": {
"BSIPA": "^4.2.2",
"SongCore": "^3.9.5",
"SongCore": "^3.9.7",
"BS Utils": "^1.12.0",
"BeatSaberMarkupLanguage": "^1.6.3"
"BeatSaberMarkupLanguage": "^1.6.8"
},
"links": {
"donate": "https://www.paypal.me/zeph3yr"
Expand Down

0 comments on commit b4d06e4

Please sign in to comment.