Просмотр исходного кода

Prevents Legacy arkserver from failing

issue was caused by a Typo in to word Survival
Daniel Gibbs 9 лет назад
Родитель
Сommit
988d79e88a
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      lgsm/functions/core_functions.sh

+ 3 - 1
lgsm/functions/core_functions.sh

@@ -6,7 +6,9 @@
 # This function is called first before any other function. Without this file other functions will not load.
 
 # Fixes for legacy code
-if [ "${gamename}" == "Teamspeak 3" ]; then
+if [ "${gamename}" == "ARK: Survivial Evolved" ]; then
+	gamename="ARK: Survival Evolved"
+elif [ "${gamename}" == "Teamspeak 3" ]; then
 	gamename="TeamSpeak 3"
 elif [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
 	gamename="Counter-Strike: Global Offensive"