Skip to content

Commit

Permalink
Only show PK3 list if fs_debug is 1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDushan committed Apr 1, 2021
1 parent 21c08f1 commit dc2e9ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/engine/framework/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3284,6 +3284,11 @@ void idFileSystemLocal::Path_f( void )
searchpath_t* s;
sint i;

if( !fs_debug->integer )
{
return;
}

Com_Printf( "Current search path:\n" );

for( s = fs_searchpaths; s; s = s->next )
Expand Down Expand Up @@ -4081,7 +4086,7 @@ void idFileSystemLocal::Startup( pointer gameName )
ReorderPurePaks();

//print the current search paths
//idFileSystemLocal::Path_f();
idFileSystemLocal::Path_f();

fs_gamedirvar->modified = false; // We just loaded, it's not modified

Expand Down

0 comments on commit dc2e9ee

Please sign in to comment.