From 65424733945e07bb6a79d41191abe1f4ea46c07a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 19 Jan 2026 22:18:26 +0000 Subject: [PATCH] fix method name --- examples/nextbus/GoTo-NextBus.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nextbus/GoTo-NextBus.ps1 b/examples/nextbus/GoTo-NextBus.ps1 index 9b135f9..60daae4 100644 --- a/examples/nextbus/GoTo-NextBus.ps1 +++ b/examples/nextbus/GoTo-NextBus.ps1 @@ -37,7 +37,7 @@ class BusRotator { return $this.Buses[$this.CurrentIndex] } - [object] MuteNextBus() { + [object] UnmuteNextBus() { $nextBus = $this.GetNextBus() $nextBus.mute = $false return $nextBus @@ -62,7 +62,7 @@ try { $rotator = [BusRotator]::new($vmr, $busesToRotate) while ((Read-Host "Press Enter to rotate buses or type 'Q' to quit.") -ne 'Q') { - $nextBus = $rotator.MuteNextBus() + $nextBus = $rotator.UnmuteNextBus() Write-Host "Bus $nextBus is now unmuted." } }