Browse Source

hint about disabled cheats for nullkiller

Laserlicht 1 year ago
parent
commit
e9b2159c0a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      AI/Nullkiller/AIGateway.cpp

+ 4 - 1
AI/Nullkiller/AIGateway.cpp

@@ -828,7 +828,10 @@ void AIGateway::makeTurn()
 	boost::shared_lock<boost::shared_mutex> gsLock(CGameState::mutex);
 	setThreadName("AIGateway::makeTurn");
 
-	cb->sendMessage("vcmieagles");
+	if(cb->getStartInfo()->extraOptionsInfo.cheatsAllowed)
+		cb->sendMessage("vcmieagles");
+	else
+		cb->sendMessage("Nullkiller AI currently requires the ability to cheat in order to function correctly! Please enable!");
 
 	retrieveVisitableObjs();