chore(0.3.1
This commit is contained in:
1 parent
10bfe8ad2f
commit
4197beea3c
4 files changed
+16
-14
No files matched your search
+2
-3
@@ -143,16 +143,15 @@ async fn launch_instance(matches: &ArgMatches) -> CliResult {
|
||||
loop {
|
||||
match crate::running::get(name) {
|
||||
Some(RunState::Crashed(Some(code))) => {
|
||||
println!("Game exited with status {}.", code);
|
||||
println!("Game exited with status {}", code);
|
||||
break;
|
||||
}
|
||||
Some(RunState::Crashed(None)) => {
|
||||
println!("Game was terminated.");
|
||||
println!("Game was terminated");
|
||||
break;
|
||||
}
|
||||
Some(_) => tokio::time::sleep(Duration::from_millis(500)).await,
|
||||
None => {
|
||||
println!("Game exited with status 0.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user