Skip to content

Commit 02096eb

Browse files
committed
fix: cheat hud in demo playback
demo playback is never used in a speedrun lol
1 parent d764d17 commit 02096eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Features/Hud/CheatWarn.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class CheatWarnHud : public Hud {
8181

8282
bool ShouldDraw() override {
8383
if (!Hud::ShouldDraw()) return false;
84+
if (engine->demoplayer->IsPlaying()) return false;
8485

8586
switch (sar_cheat_hud.GetInt()) {
8687
case 0:

0 commit comments

Comments
 (0)