Skip to content

Commit

Permalink
Added stop command
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn committed Jan 29, 2025
1 parent c16148d commit 3b58f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatchBot/MatchBot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ void CMatchBot::RecordDemo(edict_t *pEntity)

Q_sprintf(Name, "match-%s", Date);

gMatchUtil.ClientCommand(pEntity, "record \"%s\";", Name);
gMatchUtil.ClientCommand(pEntity, "stop; record \"%s\";", Name);

gMatchUtil.SayText(pEntity, PRINT_TEAM_DEFAULT, _T("Recording demo to ^3%s.dem^1 in your client."), Name);
}
Expand Down

0 comments on commit 3b58f51

Please sign in to comment.