Skip to content

Commit 6a9f6a5

Browse files
committed
fix: frametime after disconnect
1 parent 5145d41 commit 6a9f6a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/cvars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
|sar_hud_portal_angles_2|0|Draw the camera angles of the last secondary portal shot.|
254254
|sar_hud_portals|0|Draws total portal count.|
255255
|sar_hud_position|0|Draws absolute position of the client.<br>0 = Default,<br>1 = Player position,<br>2 = Camera (shoot) position.|
256-
|sar_hud_precision|3|Precision of HUD numbers.|
256+
|sar_hud_precision|2|Precision of HUD numbers.|
257257
|sar_hud_rainbow|-1|Enables the rainbow HUD mode. -1 = default, 0 = disable, 1 = enable.|
258258
|sar_hud_session|0|Draws current session tick.|
259259
|sar_hud_set_text|cmd|sar_hud_set_text \<id> \<text>... - sets and shows the nth text value in the HUD|

src/Features/Session.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ void Session::Started(bool menu) {
7474
NetMessage::SessionStarted();
7575

7676
if (menu) {
77+
g_cap_frametime = 2;
7778
console->Print("Session started! (menu)\n");
7879
this->Rebase(engine->GetTick());
7980

0 commit comments

Comments
 (0)