mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-54: Fixed resource pheromone not being cancelled by enemy structures
This commit is contained in:
parent
c56cf7efdb
commit
415a7805b0
@ -9,6 +9,7 @@ Version: 3.1.2
|
||||
- Added missing sent and max siege groups on debug log
|
||||
- Fixed small amounts of death generator not being rounded to nil
|
||||
- Fixed enemy base pheromone missing decay based on radius
|
||||
- Fixed resource pheromone generator not be cancelled out by enemy structures
|
||||
Framework:
|
||||
- Updated visualizer tool for debugging
|
||||
|
||||
|
@ -129,7 +129,7 @@ function pheromoneUtils.processStaticPheromone(map, chunk)
|
||||
local chunkEnemy = -MAGIC_MAXIMUM_NUMBER
|
||||
local chunkPathRating = getPathRating(map, chunk)
|
||||
|
||||
local clear = getEnemyStructureCount(map, chunk)
|
||||
local clear = getEnemyStructureCount(map, chunk) == 0
|
||||
|
||||
local tempNeighbors = getNeighborChunks(map, chunk.x, chunk.y)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user