mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 14:56:04 +00:00
Application::CheckForUpdates: only print status the first time
This commit is contained in:
@@ -111,7 +111,6 @@ void TConsole::StartLoggingToFile() {
|
||||
// sanitize the string by removing all ANSI control codes (like color, etc)
|
||||
std::string Sanitized;
|
||||
Sanitized.reserve(ToWrite.size());
|
||||
EscState state;
|
||||
for (size_t i = 0; i < ToWrite.size(); ++i) {
|
||||
if (i + 1 < ToWrite.size()
|
||||
&& ToWrite[i] == 0x1b) { // starts ANSI escape sequence
|
||||
|
||||
Reference in New Issue
Block a user