From 672558e335e81208978c33aee15e2f9bde9a1755 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 6 May 2015 00:06:48 +0100 Subject: [PATCH] added force-update option The update checker is not detecting updates as SteamCMD is not always returning the latest release number. I dont know why SteamCMD is doing this. I have added force-update which will simply force an update without checking first (the server will restart) I recommend using update once an hour and force-update daily. --- functions/fn_getopt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/fn_getopt b/functions/fn_getopt index 61ea01821..7ed98228b 100644 --- a/functions/fn_getopt +++ b/functions/fn_getopt @@ -2,7 +2,7 @@ # LGSM fn_getopt function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 150414 +# Version: 060514 # Description: getopt arguments. @@ -16,6 +16,8 @@ case "$getopt" in fn_restart;; update) fn_update_check;; + force-update) + fn_update_dl;; validate) fn_validate;; monitor)