From 24b8cc62155c926c05214a92b4ca9f4938cd04e0 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:46:30 +0200 Subject: [PATCH] Check is no longer necessary Check is no longer necessary; shipped cvars get initialized early enough now. --- r5dev/filesystem/basefilesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/filesystem/basefilesystem.cpp b/r5dev/filesystem/basefilesystem.cpp index 72d5e55c..9c021f32 100644 --- a/r5dev/filesystem/basefilesystem.cpp +++ b/r5dev/filesystem/basefilesystem.cpp @@ -18,7 +18,7 @@ void CBaseFileSystem::Warning(CBaseFileSystem* pFileSystem, FileWarningLevel_t l if (level >= FileWarningLevel_t::FILESYSTEM_WARNING_REPORTALLACCESSES) { // Logging reads is very verbose! Explicitly toggle.. - if (!fs_showAllReads || !fs_showAllReads->GetBool()) + if (!fs_showAllReads->GetBool()) { return; }