stop stopwatch

This commit is contained in:
onyx-and-iris 2023-12-01 11:16:56 +00:00
parent 0cc63a2b75
commit ea776fd93f

View File

@ -31,7 +31,7 @@ try {
Send-Message -rcon $rcon
Start-Sleep -Seconds 10
} until ($stopWatch.Elapsed -ge $timeSpan)
$stopWatch.Stop()
}
finally {
Disconnect-Rcon -rcon $rcon