Преглед изворни кода

Added missing if statements

Daniel Gibbs пре 9 година
родитељ
комит
a0b6c9dc03
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 1 1
      lgsm/functions/command_details.sh
  2. 3 0
      lgsm/functions/info_config.sh

+ 1 - 1
lgsm/functions/command_details.sh

@@ -292,7 +292,7 @@ fn_details_ports(){
 
 	parmslocation="${red}UNKNOWN${default}"
 	# engines that require editing in the config file
-	local ports_edit_array=( "avalanche" "dontstarve" "idtech3" "lwjgl2" "projectzomboid" "idtech3_ql" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
+	local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "lwjgl2" "projectzomboid" "idtech3_ql" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
 	for port_edit in "${ports_edit_array[@]}"
 	do
 		if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then

+ 3 - 0
lgsm/functions/info_config.sh

@@ -513,6 +513,9 @@ elif [ "${gamename}" == "Battlefield: 1942" ]; then
 # Dont Starve Together
 elif [ "${engine}" == "dontstarve" ]; then
 	fn_info_config_dontstarve
+# Quake 2
+elif [ "${gamename}" == "Quake 2" ]; then
+	fn_info_config_quake2
 # Quake 3
 elif [ "${gamename}" == "Quake 3: Arena" ]; then
 	fn_info_config_quake3