mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 08:06:45 +00:00
Always show the script name when a script fails to compile
This commit is contained in:
parent
7bf7daa846
commit
a4ce9d6a7f
1 changed files with 4 additions and 4 deletions
|
@ -64,12 +64,12 @@ namespace MWScript
|
||||||
Success = false;
|
Success = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Success && mVerbose)
|
if (!Success)
|
||||||
{
|
{
|
||||||
std::cerr
|
std::cerr
|
||||||
<< "compiling failed: " << name << std::endl
|
<< "compiling failed: " << name << std::endl;
|
||||||
<< script->mScriptText
|
if (mVerbose)
|
||||||
<< std::endl << std::endl;
|
std::cerr << script->mScriptText << std::endl << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Success)
|
if (Success)
|
||||||
|
|
Loading…
Reference in a new issue