Browse Source

Added force-update to unreal2

Daniel Gibbs 11 năm trước cách đây
mục cha
commit
d54cb6e31a
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      functions/fn_getopt

+ 7 - 1
functions/fn_getopt

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