Fix ReadMapList ignoring file's last modified time (#1891)
(cherry picked from commit 0d6179299c
)
This commit is contained in:
parent
24c92c021c
commit
c2b204e810
@ -592,7 +592,10 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
if (!libsys->FileTime(pMapList->path, FileTime_LastChange, &last_time)
|
||||
char realpath[PLATFORM_MAX_PATH];
|
||||
g_pSM->BuildPath(Path_Game, realpath, sizeof(realpath), "%s", pMapList->path);
|
||||
|
||||
if (!libsys->FileTime(realpath, FileTime_LastChange, &last_time)
|
||||
|| last_time > pMapList->last_modified_time)
|
||||
{
|
||||
/* Reparse */
|
||||
|
Loading…
Reference in New Issue
Block a user