Skip to content

Commit

Permalink
gamehistorylogger: Log cheated var
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jul 5, 2024
1 parent 3f177bb commit aeeb2e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gamehistorylogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "stdinreader.h"
#include "modding.h"
#include "version.h"
#include "mission.h"

#include <string>
#include <tuple>
Expand Down Expand Up @@ -540,6 +541,7 @@ nlohmann::json GameStoryLogger::genEndOfGameReport(OutputKey key, OutputNaming n
report["game"] = buildGameDetailsOutputJSON(gameStartRealTime);
report["game"]["timeGameEnd"] = gameTime;
report["game"]["timeout"] = timeout;
report["game"]["cheated"] = Cheated;
report["endDate"] = std::chrono::duration_cast<std::chrono::milliseconds>(gameEndRealTime.time_since_epoch()).count();

return report;
Expand Down

0 comments on commit aeeb2e6

Please sign in to comment.