From 672f5eb69154d9fcd9e13205c79c66240af26759 Mon Sep 17 00:00:00 2001 From: d10sfan <4337981+d10sfan@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:16:41 -0500 Subject: [PATCH] Fix for steam bug launching luxtorpeda (#420) --- luxtorpeda.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/luxtorpeda.sh b/luxtorpeda.sh index 6e59ac1c..80768e0c 100755 --- a/luxtorpeda.sh +++ b/luxtorpeda.sh @@ -13,4 +13,9 @@ if [[ $2 == *"iscriptevaluator.exe"* ]]; then exit 0 fi +if [ -z "$SteamAppId" ]; then + echo "lux - Exiting because no steam app id" + exit 0 +fi + "$DIR/luxtorpeda.x86_64" "$@"