Skip to content

Commit

Permalink
feat: OBS.Beat.Timer ( Fixes #195 )
Browse files Browse the repository at this point in the history
Fixing Timer First Set
  • Loading branch information
James Brundage committed Feb 14, 2024
1 parent 846e1dc commit 02e8356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Types/OBS.Beat/set_Timer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $Interval
)

if (-not $this.'.Timer') {
$this.'.Timer' = [Timers.Timer]::new($Interval.TotalMilliseconds)
$this | Add-Member NoteProperty '.Timer' ([Timers.Timer]::new($Interval.TotalMilliseconds)) -Force
} else {
$this.'.Timer'.Interval = $Interval.TotalMilliseconds
}
Expand Down

0 comments on commit 02e8356

Please sign in to comment.