Fix ReadMapList ignoring file's last modified time (#1891)
This commit is contained in:
parent
515df38b72
commit
0d6179299c
@ -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