Răsfoiți Sursa

Added force-update to unreal2

Daniel Gibbs 11 ani în urmă
părinte
comite
d54cb6e31a
1 a modificat fișierele cu 7 adăugiri și 1 ștergeri
  1. 7 1
      functions/fn_getopt

+ 7 - 1
functions/fn_getopt

@@ -2,7 +2,7 @@
 # LGSM fn_getopt function
 # LGSM fn_getopt function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-# Version: 060515
+# Version: 190515
 
 
 # Description: getopt arguments.
 # Description: getopt arguments.
 
 
@@ -114,6 +114,12 @@ case "$getopt" in
 		fn_restart;;
 		fn_restart;;
 	update)
 	update)
 		fn_update_check;;
 		fn_update_check;;
+	force-update)
+		forceupdate=1;
+		fn_update_check;;
+	update-restart)
+		forceupdate=1;
+		fn_update_check;;
 	validate)
 	validate)
 		fn_validate;;
 		fn_validate;;
 	monitor)
 	monitor)