diff --git a/start_server.sh b/start_server.sh index 8ca7968..351f98a 100755 --- a/start_server.sh +++ b/start_server.sh @@ -46,7 +46,7 @@ else fi # Check if the last downloaded version matches the current version -if [ "$last_downloaded_version" != "$version" ] || [ "$version" = "stable" ] || [ "$version" = "latest" ]; then +if [ "$last_downloaded_version" != "$version" ] || [ "$last_downloaded_version" = "stable" ] || [ "$last_downloaded_version" = "latest" ]; then echo "Fetching Factorio binary..." wget "https://factorio.com/get-download/${version}/headless/linux64" -O factorio_headless.tar.xz if [ $? -ne 0 ]; then