Skip to content

Commit

Permalink
fix: frametime after disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisAMJ committed Aug 7, 2024
1 parent 1d39f7c commit 690163d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
|sar_hud_portal_angles_2|0|Draw the camera angles of the last secondary portal shot.|
|sar_hud_portals|0|Draws total portal count.|
|sar_hud_position|0|Draws absolute position of the client.<br>0 = Default,<br>1 = Player position,<br>2 = Camera (shoot) position.|
|sar_hud_precision|3|Precision of HUD numbers.|
|sar_hud_precision|2|Precision of HUD numbers.|
|sar_hud_rainbow|-1|Enables the rainbow HUD mode. -1 = default, 0 = disable, 1 = enable.|
|sar_hud_session|0|Draws current session tick.|
|sar_hud_set_text|cmd|sar_hud_set_text \<id> \<text>... - sets and shows the nth text value in the HUD|
Expand Down
1 change: 1 addition & 0 deletions src/Features/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ void Session::Started(bool menu) {
NetMessage::SessionStarted();

if (menu) {
g_cap_frametime = 2;
console->Print("Session started! (menu)\n");
this->Rebase(engine->GetTick());

Expand Down

0 comments on commit 690163d

Please sign in to comment.