mirror of
https://github.com/onyx-and-iris/q3rcon-ps.git
synced 2025-02-26 11:45:12 +00:00
stop stopwatch
This commit is contained in:
parent
0cc63a2b75
commit
ea776fd93f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user