Skip to content

Commit

Permalink
Removed underscores from broadcast message
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Feb 20, 2024
1 parent 36c6a1c commit 5187b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/auto_reboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi

if [[ "${AUTO_REBOOT_WARN_MINUTES}" =~ ^[0-9]+$ ]]; then
for ((i = "${AUTO_REBOOT_WARN_MINUTES}" ; i > 0 ; i--)); do
broadcast_command "The_Server_will_reboot_in_${i}_Minutes"
broadcast_command "The Server will reboot in ${i} minutes"
sleep "1m"
done
RCON save
Expand Down
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
if [ "$(get_player_count)" -gt 0 ]; then
LogAction "Updating the server from $CURRENT_MANIFEST to $TARGET_MANIFEST."
DiscordMessage "Server will update in ${AUTO_UPDATE_WARN_MINUTES} minutes"
broadcast_command "The_Server_will_update_in_${AUTO_UPDATE_WARN_MINUTES}_Minutes"
broadcast_command "The Serverwill update in ${AUTO_UPDATE_WARN_MINUTES} minutes"
sleep "${AUTO_UPDATE_WARN_MINUTES}m"
fi

Expand Down

0 comments on commit 5187b06

Please sign in to comment.