Version 15.2.1: Quick autoupdate fix

This commit is contained in:
def 2020-11-17 17:04:21 +01:00
parent ed9a902bab
commit f9be02c411
2 changed files with 3 additions and 3 deletions

View file

@ -246,7 +246,7 @@ bool CUpdater::ReplaceServer()
void CUpdater::ParseUpdate()
{
char aPath[512];
IOHANDLE File = m_pStorage->OpenFile(m_pStorage->GetBinaryPath("update/update.json", aPath, sizeof aPath), IOFLAG_READ, IStorage::TYPE_ALL);
IOHANDLE File = m_pStorage->OpenFile(m_pStorage->GetBinaryPath("update/update.json", aPath, sizeof aPath), IOFLAG_READ, IStorage::TYPE_ABSOLUTE);
if(!File)
return;

View file

@ -3,11 +3,11 @@
#ifndef GAME_VERSION_H
#define GAME_VERSION_H
#ifndef GAME_RELEASE_VERSION
#define GAME_RELEASE_VERSION "15.2"
#define GAME_RELEASE_VERSION "15.2.1"
#endif
#define GAME_VERSION "0.6.4, " GAME_RELEASE_VERSION
#define GAME_NETVERSION "0.6 626fce9a778df4d4"
#define GAME_NAME "DDNet"
#define CLIENT_VERSIONNR 15020
#define CLIENT_VERSIONNR 15021
extern const char *GIT_SHORTREV_HASH;
#endif