mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Update ud.config.LastUpdateCheck even when G_GetVersionFromWebsite() fails. SourceForge was down today and it irritated me.
git-svn-id: https://svn.eduke32.com/eduke32@3988 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4a02ec7e9b
commit
af2e9e8cf1
1 changed files with 3 additions and 1 deletions
|
@ -11254,10 +11254,12 @@ int32_t app_main(int32_t argc, const char **argv)
|
|||
if (time(NULL) - ud.config.LastUpdateCheck > UPDATEINTERVAL)
|
||||
{
|
||||
initprintf("Checking for updates...\n");
|
||||
|
||||
ud.config.LastUpdateCheck = time(NULL);
|
||||
|
||||
if (G_GetVersionFromWebsite(tempbuf))
|
||||
{
|
||||
initprintf("Current version is %d",Batoi(tempbuf));
|
||||
ud.config.LastUpdateCheck = time(NULL);
|
||||
|
||||
if (Batoi(tempbuf) > atoi(s_buildDate))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue