From f0855a16d14cee3dbf51a428dad1c99fe7b540ef Mon Sep 17 00:00:00 2001
From: Chaos <ChaosMTA@users.noreply.github.com>
Date: Sun, 18 Jun 2017 16:32:44 -0600
Subject: [PATCH] Fixes force update for MTA

---
 lgsm/functions/core_getopt.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lgsm/functions/core_getopt.sh b/lgsm/functions/core_getopt.sh
index c7faba788..4e52b0d1f 100644
--- a/lgsm/functions/core_getopt.sh
+++ b/lgsm/functions/core_getopt.sh
@@ -58,8 +58,8 @@ currentopt+=( "${cmd_update_linuxgsm[@]}" )
 # Exclude noupdate games here
 if [ "${gamename}" != "Battlefield: 1942" ]&&[ "${engine}" != "quake" ]&&[ "${engine}" != "idtech2" ]&&[ "${engine}" != "idtech3" ]&&[ "${engine}" != "iw2.0" ]&&[ "${engine}" != "iw3.0" ]; then
 	currentopt+=( "${cmd_update[@]}" )
-	# force update for SteamCMD only
-	if [ -n "${appid}" ]; then
+	# force update for SteamCMD only or MTA
+	if [ -n "${appid}" ] || [ "${gamename}" == "Multi Theft Auto" ]; then
 		currentopt+=( "${cmd_force_update[@]}" )
 	fi
 fi