diff --git a/src/main.rs b/src/main.rs index 8379ef7..d79f771 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,13 +64,16 @@ where } async fn do_soft_save_with_announcement() { + println!("Soft saving..."); // run_rcon_command([ // "say", // "Soft saving now. No need to interrupt what you're doing.", // ]) // .await; - + run_rcon_command(["save-all"]).await; + + println!("Soft saving done."); } async fn do_hard_save_with_announcement() { @@ -78,6 +81,8 @@ async fn do_hard_save_with_announcement() { let duration = ten_seconds; let delay = tokio::spawn(sleep(duration)); + println!("Hard saving..."); + run_rcon_command([ "say", "Hard saving in 10 seconds. Get to safety and pause your activities.", @@ -95,6 +100,8 @@ async fn do_hard_save_with_announcement() { "The hard save has completed. We do this to lower crash risks. Thanks.", ]) .await; + + println!("Hard saving done."); } #[tokio::main]