Only log during turn based AI

This commit is contained in:
Asdow
2026-01-19 22:32:01 +02:00
parent a46d2dbb96
commit c3f4ee754a
+1 -2
View File
@@ -295,8 +295,7 @@ void DebugAI( INT8 bMsgType, SOLDIERTYPE *pSoldier, STR szOutput, bool doLog, IN
CHAR8 msg[1024];
CHAR8 buf[1024];
if (!gfLogsEnabled || !doLog || pSoldier == nullptr)
if (!gfTurnBasedAI || !gfLogsEnabled || !doLog || pSoldier == nullptr)
return;
memset(buf, 0, 1024 * sizeof(char));