mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Disable update alert if this is a prerelease
This commit is contained in:
parent
4b7d16283d
commit
c7c9ae3847
2 changed files with 4 additions and 0 deletions
|
@ -157,7 +157,9 @@ extern char logfilename[1024];
|
|||
// the other options the same.
|
||||
|
||||
// Comment out this line to completely disable update alerts (recommended for testing, but not for release)
|
||||
#ifndef BETAVERSION
|
||||
#define UPDATE_ALERT
|
||||
#endif
|
||||
|
||||
// The string used in the alert that pops up in the event of an update being available.
|
||||
// Please change to apply to your modification (we don't want everyone asking where your mod is on SRB2.org!).
|
||||
|
|
|
@ -11227,6 +11227,7 @@ Check_new_version_thread (int *id)
|
|||
GetRoomsList(hosting, *id);
|
||||
}
|
||||
}
|
||||
#ifdef UPDATE_ALERT
|
||||
else
|
||||
{
|
||||
I_lock_mutex(&ms_QueryId_mutex);
|
||||
|
@ -11235,6 +11236,7 @@ Check_new_version_thread (int *id)
|
|||
}
|
||||
I_unlock_mutex(ms_QueryId_mutex);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (okay)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue