Merge pull request #1613 from Azaezel/alpha41/fileExecTrace

add executing file reporting to the trace(true/false) script command
This commit is contained in:
Brian Roberts 2025-12-15 09:48:06 -06:00 committed by GitHub
commit 50ee9606bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -402,6 +402,8 @@ namespace TorqueScript
#ifdef TORQUE_DEBUG
Con::printf("Executing %s.", scriptFileName);
#endif
if (Con::gTraceOn)
Con::printf("Executing %s.", scriptFileName);
CodeBlock *newCodeBlock = new CodeBlock();
StringTableEntry name = StringTable->insert(scriptFileName);