Skip to content

Commit

Permalink
fix: trying to place flags in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
hero622 authored and ThisAMJ committed May 12, 2024
1 parent 914a054 commit f799002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/ChallengeMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ChallengeMode *cm;

void ChallengeMode::CreateNode() {
if (!sv_bonus_challenge.GetBool()) {
if (!sv_bonus_challenge.GetBool() || engine->demoplayer->IsPlaying()) {
return;
}

Expand Down

0 comments on commit f799002

Please sign in to comment.