mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
fill replay name with steamid by default
This commit is contained in:
parent
4167001b5c
commit
2909a38179
@ -205,6 +205,11 @@ stock bool ReadReplayFrames(File file, replay_header_t header, frame_cache_t cac
|
|||||||
cache.fTickrate = header.fTickrate;
|
cache.fTickrate = header.fTickrate;
|
||||||
cache.iSteamID = header.iSteamID;
|
cache.iSteamID = header.iSteamID;
|
||||||
|
|
||||||
|
if (cache.iSteamID > 0)
|
||||||
|
{
|
||||||
|
FormatEx(cache.sReplayName, sizeof(cache.sReplayName), "[U:1:%d]", cache.iSteamID);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user