fill replay name with steamid by default

This commit is contained in:
rtldg 2022-01-15 11:41:54 +00:00
parent 4167001b5c
commit 2909a38179

View File

@ -205,6 +205,11 @@ stock bool ReadReplayFrames(File file, replay_header_t header, frame_cache_t cac
cache.fTickrate = header.fTickrate;
cache.iSteamID = header.iSteamID;
if (cache.iSteamID > 0)
{
FormatEx(cache.sReplayName, sizeof(cache.sReplayName), "[U:1:%d]", cache.iSteamID);
}
return true;
}