Skip to content

Commit

Permalink
fix: fix typos in sar_tick_debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mlugg committed Jun 14, 2021
1 parent b10c858 commit 4764920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Modules/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ DETOUR(Engine::Frame)
int host, server, client;
engine->GetTicks(host, server, client);
if (server != lastServer || client != lastClient || sar_tick_debug.GetInt() >= 3) {
console->Print("CEngine::Frame host=%d server=%d client=%d\n", host, server, client);
console->Print("CEngine::Frame (host=%d server=%d client=%d)\n", host, server, client);
lastServer = server;
lastClient = client;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ DETOUR(Server::GameFrame, bool simulating)
if (sar_tick_debug.GetInt() >= 3 || (sar_tick_debug.GetInt() >= 2 && simulating)) {
int host, server, client;
engine->GetTicks(host, server, client);
console->Print("CServerGameDLL:GameFrame %s (host=%d server=%d client=%d)\n", simulating ? "simulating" : "non-simulating", host, server, client);
console->Print("CServerGameDLL::GameFrame %s (host=%d server=%d client=%d)\n", simulating ? "simulating" : "non-simulating", host, server, client);
}

int tick = session->GetTick();
Expand Down

0 comments on commit 4764920

Please sign in to comment.