update build number, which was incorrect. Add an easy way for mods to ignore updates
This commit is contained in:
parent
0be465aa4e
commit
4654a2aaa0
@ -25,7 +25,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef BUILD_NUM
|
||||
#define BUILD_NUM 248
|
||||
#define BUILD_NUM 249
|
||||
#endif
|
||||
|
||||
#ifndef SNAPSHOT_ID
|
||||
@ -40,6 +40,8 @@
|
||||
#endif
|
||||
//VersionInfoEnd
|
||||
|
||||
//#define IGNORE_UPDATES //uncomment this for mods, to not get any update notifications
|
||||
|
||||
#if defined(SNAPSHOT)
|
||||
#define IDENT_RELTYPE "S"
|
||||
#elif defined(BETA)
|
||||
|
@ -623,10 +623,12 @@ void Client::Tick()
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef IGNORE_UPDATES
|
||||
if(updateAvailable)
|
||||
{
|
||||
notifyUpdateAvailable();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
catch (json::Exception &e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user