Skip to content

Commit

Permalink
Disabled auto-SP on 5-lane
Browse files Browse the repository at this point in the history
  • Loading branch information
EscapeNumber001 committed Apr 17, 2023
1 parent addf138 commit 19f53aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Assets/Script/Input/GHDrumsInputStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public override void UpdatePlayerMode() {
}

// Constantly activate starpower
CallStarpowerEvent();
//CallStarpowerEvent();
}

public override void UpdateBotMode(object rawChart, float songTime) {
Expand All @@ -80,7 +80,7 @@ public override void UpdateBotMode(object rawChart, float songTime) {
}

// Constantly activate starpower
CallStarpowerEvent();
//CallStarpowerEvent();
}

public override void UpdateNavigationMode() {
Expand Down
6 changes: 5 additions & 1 deletion Assets/Script/Serialization/Parser/MidiParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public override void Parse(Chart chart) {
chart.ghDrums[i] = ParseGHDrums(trackChunk, i, drumType, chart.realDrums[i]);
ParseStarpower(eventIR, trackChunk, "drums");
ParseStarpower(eventIR, trackChunk, "realDrums");
ParseDrumFills(eventIR, trackChunk, "drums");
ParseDrumFills(eventIR, trackChunk, "realDrums");
}
} else {
Expand All @@ -149,7 +150,10 @@ public override void Parse(Chart chart) {

chart.drums[i] = ParseDrums(trackChunk, false, i, drumType, chart.ghDrums[i]);
chart.realDrums[i] = ParseDrums(trackChunk, true, i, drumType, chart.ghDrums[i]);
ParseStarpower(eventIR, trackChunk, "ghDrums");

// TODO: SP is still a bit broken on 5-lane and is therefore disabled for now
//ParseStarpower(eventIR, trackChunk, "ghDrums");
//ParseDrumFills(eventIR, trackChunk, "ghDrums");
}
}
break;
Expand Down

0 comments on commit 19f53aa

Please sign in to comment.