mirror of
https://github.com/onyx-and-iris/q3rcon-ps.git
synced 2025-04-02 20:03:49 +01: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…
x
Reference in New Issue
Block a user