mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Version 15.2.1: Quick autoupdate fix
This commit is contained in:
parent
ed9a902bab
commit
f9be02c411
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue