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

Added bypass for updatecheck for UT99 and UT2K4

Daniel Gibbs 11 лет назад
Родитель
Сommit
8e2b5541c8
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      functions/fn_monitor

+ 3 - 1
functions/fn_monitor

@@ -69,8 +69,10 @@ if [ ! -f "${lockselfname}" ]; then
 	echo "To enable monitor run ${selfname} start"
 	exit
 fi
+
+
 updatecheck=$(ps -ef|grep "${selfname} update"|grep -v grep|wc -l)
-if [ "${updatecheck}" = "0" ]; then
+if [ "${updatecheck}" = "0" ]||[ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament 2004" ]; then
 	fn_printdots "Checking session: CHECKING"
 	fn_scriptlog "Checking session: CHECKING"
 	sleep 1