diff --git a/stepmania/src/Font.cpp b/stepmania/src/Font.cpp index c809f691f1..30a3079193 100644 --- a/stepmania/src/Font.cpp +++ b/stepmania/src/Font.cpp @@ -799,7 +799,13 @@ void Font::Load(const CString &sFontOrTextureFilePath, CString sChars) split(imports, ",", ImportList, true); for(unsigned i = 0; i < ImportList.size(); ++i) { - CString path = THEME->GetPathToF( ImportList[i]); + CString path = THEME->GetPathToF( ImportList[i], true ); + if( path == "" ) + { + LOG->Warn("Font \"%s\" imports a font \"%s\" that doesn't exist", sFontOrTextureFilePath.c_str(), ImportList[i].c_str()); + continue; + } + Font subfont; subfont.Load(path, ""); MergeFont(subfont);