Skip to content

Commit 0121974

Browse files
committed
[F] minor
1 parent 1e0a12d commit 0121974

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

AquaMai.Mods/GameSystem/OldCabLightBoardSupport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public class JvsOutputPwmPatch
154154
[HarmonyTargetMethod]
155155
static MethodBase TargetMethod()
156156
{
157-
var type = typeof(IO.Jvs).GetNestedType("JvsOutputPwm", BindingFlags.NonPublic | BindingFlags.Instance);
157+
var type = typeof(IO.Jvs).GetNestedType("JvsOutputPwm", BindingFlags.NonPublic | BindingFlags.Public);
158158
if (type == null)
159159
{
160160
MelonLoader.MelonLogger.Error("[OldCabLightBoardSupport] JvsOutputPwm type not found");

build.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ try {
5757
# 3. Build
5858
# ==========================================
5959
Write-Host "Building Solution..." -ForegroundColor Cyan
60-
6160
$Configuration = "Release"
62-
if ($args.Count -gt 0) {
63-
$Configuration = $args[0].ToLower()
61+
if ($args.Count -gt 0 -and $args[0] -eq "-Configuration") {
62+
$Configuration = $args[1]
6463
}
6564

6665
Write-Host "Configuration: $Configuration" -ForegroundColor Yellow

0 commit comments

Comments
 (0)