mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Record exact tick where load/save result is returned
This commit is contained in:
parent
cd407a08a8
commit
04e8ce56a9
|
@ -491,6 +491,8 @@ void CTeeHistorian::RecordTestExtra()
|
||||||
|
|
||||||
void CTeeHistorian::RecordTeamSaveSuccess(int Team, CUuid SaveID, const char *pTeamSave)
|
void CTeeHistorian::RecordTeamSaveSuccess(int Team, CUuid SaveID, const char *pTeamSave)
|
||||||
{
|
{
|
||||||
|
EnsureTickWritten();
|
||||||
|
|
||||||
CPacker Buffer;
|
CPacker Buffer;
|
||||||
Buffer.Reset();
|
Buffer.Reset();
|
||||||
Buffer.AddInt(Team);
|
Buffer.AddInt(Team);
|
||||||
|
@ -509,6 +511,8 @@ void CTeeHistorian::RecordTeamSaveSuccess(int Team, CUuid SaveID, const char *pT
|
||||||
|
|
||||||
void CTeeHistorian::RecordTeamSaveFailure(int Team)
|
void CTeeHistorian::RecordTeamSaveFailure(int Team)
|
||||||
{
|
{
|
||||||
|
EnsureTickWritten();
|
||||||
|
|
||||||
CPacker Buffer;
|
CPacker Buffer;
|
||||||
Buffer.Reset();
|
Buffer.Reset();
|
||||||
Buffer.AddInt(Team);
|
Buffer.AddInt(Team);
|
||||||
|
@ -523,6 +527,8 @@ void CTeeHistorian::RecordTeamSaveFailure(int Team)
|
||||||
|
|
||||||
void CTeeHistorian::RecordTeamLoadSuccess(int Team, CUuid SaveID, const char *pTeamSave)
|
void CTeeHistorian::RecordTeamLoadSuccess(int Team, CUuid SaveID, const char *pTeamSave)
|
||||||
{
|
{
|
||||||
|
EnsureTickWritten();
|
||||||
|
|
||||||
CPacker Buffer;
|
CPacker Buffer;
|
||||||
Buffer.Reset();
|
Buffer.Reset();
|
||||||
Buffer.AddInt(Team);
|
Buffer.AddInt(Team);
|
||||||
|
@ -541,6 +547,8 @@ void CTeeHistorian::RecordTeamLoadSuccess(int Team, CUuid SaveID, const char *pT
|
||||||
|
|
||||||
void CTeeHistorian::RecordTeamLoadFailure(int Team)
|
void CTeeHistorian::RecordTeamLoadFailure(int Team)
|
||||||
{
|
{
|
||||||
|
EnsureTickWritten();
|
||||||
|
|
||||||
CPacker Buffer;
|
CPacker Buffer;
|
||||||
Buffer.Reset();
|
Buffer.Reset();
|
||||||
Buffer.AddInt(Team);
|
Buffer.AddInt(Team);
|
||||||
|
|
Loading…
Reference in a new issue