summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui_script.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui_script.c b/src/ui_script.c
index 6b9a975..d8f286f 100644
--- a/src/ui_script.c
+++ b/src/ui_script.c
@@ -301,7 +301,10 @@ static qboolean Parse_File( const char *path, int depth ) {
ret = FS_LoadFile( path, ( void ** )&raw );
if( !raw ) {
- Com_Printf( "Couldn't load %s: %s\n", path, Q_ErrorString( ret ) );
+ if( ret != Q_ERR_NOENT || depth ) {
+ Com_WPrintf( "Couldn't %s %s: %s\n", depth ? "include" : "load",
+ path, Q_ErrorString( ret ) );
+ }
return qfalse;
}