Promote no AI value message to error, shouldn't happen without mods
This commit is contained in:
1 parent
8ec558a2ae
commit
3e6cdb28bc
1 file changed
+1
-1
@@ -382,7 +382,7 @@ float VisitObjEngine::evaluate(Goals::VisitObj & goal)
|
||||
else
|
||||
{
|
||||
MapObjectsEvaluator::getInstance().addObjectData(obj->ID, obj->subID, 0);
|
||||
logGlobal->warn("AI met object type it doesn't know - ID: " + std::to_string(obj->ID) + ", subID: " + std::to_string(obj->subID) + " - adding to database with value " + std::to_string(objValue));
|
||||
logGlobal->error("AI met object type it doesn't know - ID: " + std::to_string(obj->ID) + ", subID: " + std::to_string(obj->subID) + " - adding to database with value " + std::to_string(objValue));
|
||||
}
|
||||
|
||||
setSharedFuzzyVariables(goal);
|
||||
|
||||
Reference in new issue
Block a user