1 Commits
Author SHA1 Message Date
JynLeazy1 38c2e1a61e Remove destroyed resources from the AI resource maps again
Since d18a6392b3 all resource maps were rebuilt whenever an entity in
SharedScript.resources was destroyed. As every entity was listed there,
not only resources, that happened on almost every turn and took most of
the AI time in big games.

Keep instead the influence of each resource on the maps, and subtract it
when the resource is destroyed. Like d18a6392b3, this does not need
entityObj.
2026-10-22 09:50:13 +02:00