1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

hint about disabled cheats for nullkiller

This commit is contained in:
Laserlicht
2024-05-15 00:18:14 +02:00
committed by GitHub
parent 8b59b78003
commit e9b2159c0a

View File

@@ -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();