Fixed script developer printf

This commit is contained in:
smallmodel 2023-08-16 02:43:22 +02:00
parent 244220f031
commit efed6d0eac
No known key found for this signature in database
GPG key ID: A96F163ED4891440
5 changed files with 9 additions and 9 deletions

View file

@ -1781,7 +1781,7 @@ void ScriptVM::HandleScriptException(ScriptException& exc)
throw e;
}
glbs.Printf("^~^~^ Script Error : %s\n\n", exc.string.c_str());
gi.DPrintf2("^~^~^ Script Error : %s\n\n", exc.string.c_str());
if (m_ScriptClass->GetScript()->ScriptCheck()) {
if (g_scriptcheck->integer != 2 || !exc.bIsForAnim) {